Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

cyrillic.bin file format

1 view
Skip to first unread message

Andrzej Olaczek

unread,
Jun 1, 2001, 1:16:12 PM6/1/01
to
Could someone from Opera Software send me the format specification of
"cyrillic.bin" file included in Russian version of Opera?

I would like to convert it to support ISO 8859-2 characters (if you
don't want do to it...)

--
Andrzej Olaczek
mailto:an...@poland.com

Ogonki w Operze:
http://www.operapl.prv.pl

peter karlsson

unread,
Jun 11, 2001, 3:35:23 AM6/11/01
to
Andrzej Olaczek:

>Could someone from Opera Software send me the format specification of
>"cyrillic.bin" file included in Russian version of Opera?

First two bytes indicate the number of contained tables, then follows a list
of all tables containing of a two-byte table size, one byte with the length
of the name (excluding null termination), the name itself (null terminated),
and a four-byte offset. The tables themselves are pure binary data, with
different formats for each (mostly quite easy to figure out, though).

>I would like to convert it to support ISO 8859-2 characters (if you
>don't want do to it...)

You can't do that at the moment, the Russian version, which is the only
Opera version with experimental support for character encodings currently,
is hard-coded for Cyrillic.

--
\\//
peter, developer / utvecklare / utvikler, Opera Software

The opinions expressed are my own, and not those of my employer.

Andrzej Olaczek

unread,
Jun 16, 2001, 9:22:24 PM6/16/01
to
peter karlsson wrote:
>
> Andrzej Olaczek:
[...]

> >I would like to convert it to support ISO 8859-2 characters (if you
> >don't want do to it...)
>
> You can't do that at the moment, the Russian version, which is the only
> Opera version with experimental support for character encodings currently,
> is hard-coded for Cyrillic.

Actually I DID IT. And it works OK. Thank you very much.

I've replaced the iso-8859-5 and rev-iso-8859-5 tables with iso-8859-2
ones.
I've also patched the opera.exe file by:
- renaming the ISO 8859-5 menu item to ISO 8859-2
- hiding menu items which stand for other Russian encodings...

Opera (the application) thinks it renders cyrillic fonts while it
displays Polish characters correctly.

I'd like to upload it on my webpage (so other Polish guys could use it)
but I understand it would violate OperaSoft's copyrights.

Do you think that publishing the patching tutorial would be acceptable?

Andrzej Olaczek

unread,
Jun 17, 2001, 7:51:33 PM6/17/01
to
peter karlsson wrote:

> You can't do that at the moment, the Russian version, which is the only
> Opera version with experimental support for character encodings currently,
> is hard-coded for Cyrillic.

You may download the patch from:
http://www.opce.prv.pl/download/Opera_ISO-8859-2en.exe

I didn't include the link on any of my web pages yet.
You may find a test page to see if the patch works correctly here:
http://www.opce.prv.pl/test.html

peter karlsson

unread,
Jun 18, 2001, 2:51:59 AM6/18/01
to
Andrzej Olaczek:

>I'd like to upload it on my webpage (so other Polish guys could use it)
>but I understand it would violate OperaSoft's copyrights.

As long as you do not published modified versions (i.e only a patch), I
think it should be safe.

0 new messages