I have translated config files and "LocalStrings_ru.properties" into russian. But there is one problem - main menu uses ISO-8859-1 Can i change encoding for it without a recompilation?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Yes i will send them of cource.
But may be i don't understand your idea. ISO-8859-1 codepage have only european symbols. Russian codepage almost completly different. There is no russian letters in ISO-8859-1 codepage. How can i convert russian text to ISO-8859-1? The problem is that Jaxe choose 8859-1 fonts for drawing main menu. I want to force him to choose KOI8-R fonts.
PS: All menus that are builded from JAXECFG_ru_Jaxe_cfg.xml and others are drawn correctly. I don't know how to set right codepage only for the main menu (File, Edit, Windows, ?)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Have you tried the native2ascii Tool? If you use the Commandline-Tool, your Russian Characters are convertet into UTF-8-Entities. These Entities is only Alphanumeric. E.g. \u8934 or something similar. These UTF-8 Entities are loaded without Problems. If you don't have this tool, you could use a Eclipse Plugin: http://eclipse-rbe.sourceforge.net/
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have translated config files and "LocalStrings_ru.properties" into russian. But there is one problem - main menu uses ISO-8859-1 Can i change encoding for it without a recompilation?
I think Sun suggests using the native2ascii tool to convert files into ISO-8859-1 with \u escape codes for unicode characters.
Would that work for you ?
see http://java.sun.com/j2se/1.3/docs/api/java/util/Properties.html#encoding
Please make your file available for everybody once you've solved this problem.
Yes i will send them of cource.
But may be i don't understand your idea. ISO-8859-1 codepage have only european symbols. Russian codepage almost completly different. There is no russian letters in ISO-8859-1 codepage. How can i convert russian text to ISO-8859-1? The problem is that Jaxe choose 8859-1 fonts for drawing main menu. I want to force him to choose KOI8-R fonts.
PS: All menus that are builded from JAXECFG_ru_Jaxe_cfg.xml and others are drawn correctly. I don't know how to set right codepage only for the main menu (File, Edit, Windows, ?)
Have you tried the native2ascii Tool? If you use the Commandline-Tool, your Russian Characters are convertet into UTF-8-Entities. These Entities is only Alphanumeric. E.g. \u8934 or something similar. These UTF-8 Entities are loaded without Problems. If you don't have this tool, you could use a Eclipse Plugin:
http://eclipse-rbe.sourceforge.net/