Announcement Announcement Module
Collapse
No announcement yet.
Chinese characters in properties file Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Chinese characters in properties file

    I have my application working in chinese, but am forced to use compiled resource bundles. For some reason any chinese characters I insert in a properties file and use that as the messages source, come out as garbage. I have saved the file as utf-8, but no luck. The app correctly displays chinese characters from all other sources (Compiled resource bundles, database, hard coded, etc). Anyone know why this is behaving this way?

    Thanks

  • #2
    Try

    Code:
    C:\j2sdk\bin>native2ascii mes_zh.properties messages_zh.properties
    mes_zh.properties is ur file contain chinese character and messages_zh.properties is the result file.

    moon

    Comment


    • #3
      Chinese characters in properties file

      That did it. Thanks

      Comment

      Working...
      X