File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Any idea about encoding?

 
HaoZhe Xu
Ranch Hand
Posts: 222
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I wrote a visual map Applet, it's like a map viewer that you can zoom in/zoom out and detect the distance between two points, but the question is, when the text resource is in UTF format (created by a Java program that uses DataOutputStream), it can be displayed if the system support the character encoding (e.g. Chinese Simplified GB2312) but if the resource is in plain text format, it cannot be displayed if your system's region is not corrosponding region even you have that character encoding.

Is the only way to solve it to make all text resource in UTF format
or is there any other ways?

thanks

the address of my Applet:
City Walker
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic