Menu

Yow can i change encoding for the main menu?

Help
2005-10-13
2013-05-01
  • Vladimir Bogdanov

    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?

     
    • Damien Guillaume

      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.

       
      • Vladimir Bogdanov

        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, ?)

         
        • Bodo Tasche

          Bodo Tasche - 2005-10-14

          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/

           

Log in to post a comment.

MongoDB Logo MongoDB