04-30-2009 06:04 AM
I got an XML file with some pre-compound unicode strings (encoding = utf-8), when I draw these strings using drawText(), some weird charactors appear.
Same strings in composite unicode from normal text file can be drawn correctly.
So, how can I draw pre-compound unicode strings with drawText, or is there a way to convert them to composite unicde?
05-11-2009 04:34 PM
If the characters you are trying to draw don't exist on the BlackBerry handheld and/or current font then question marks should appear in their place.
Also, note that by default String objects are created in the ISO-8859-1 format. You can specify the encoding of a String object by using a String constructor that accepts an encoding format.
07-20-2010 05:21 PM
I think you might find that the URL included merely indicates that the question was moved to the Java forum, so the answer to your question is the last post from mark Sohm.