• Post Reply Bookmark Topic Watch Topic
  • New Topic

Any idea about encoding?  RSS feed

HaoZhe Xu
Ranch Hand
Posts: 222
  • 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?


the address of my Applet:
City Walker
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!