Korean characters in text files? [message #281276] |
Thu, 17 February 2005 20:39 |
Erik Johnson Messages: 36 Registered: July 2009 |
Member |
|
|
My apologies if this is a duplicate post... I searched the archives and
couldn't find any recent information on this.
I need to support some of the multi-byte character sets in a plugin I'm
developing. I have things working fine in Japanese and simplified Chinese,
however Korean causes problems.
Basically, my GUI tool uses a text (SWT Text widget) box that supports
Latin-based as well as a few of the multi-byte languages (Japanese, Chinese,
Korean, etc.). I serialize the info from the text box to an XML file
encoded in UTF-8, and from the XML file I generate some code in a Java class
that contains the text from the GUI tool.
I have the Korean, Japanese, and Simplified Chinese locales installed on my
computer. I also have my workspace text encoding set to UTF-8, and things
work fine in Japanese/Chinese, but the display of Korean characters in the
text/Java editor doesn't work and it displays a blank space. See example
screen shot fragments.
Any help with this? Is there problems with Korean in text editors? This is
Eclipse 3.0.1
Explanations on the attached gifs:
<language>_editor.gif -- screenshot of my editor with the korean/chinese
contents
<language>_xml.gif -- the serialized contents from my editor
<language>_java.gif -- the generated Java code from data entered in my
editor.
As you can see, the Korean characters are not displayed in either the text
editor (standard eclipse text editor) or the Java editor.
Thanks in advance,
Erik
|
|
|
Powered by
FUDForum. Page generated in 0.03366 seconds