In an app that I'm in the process of localizing, I'm creating a Group2D out of a mixture of different Object2Ds, including a StringShape.
If I set the StringShape's .Text property based on a Unicode string, it IS set up properly and displays properly inside the OSX debugger. (In this test case, they're Simplified Chinese characters, and the debugger correctly identifies the string as UTF-8 inside the StringShape object; the debugger also displays the symbols correctly...:-) But when the Group2D is actually -drawn-, I'm getting "???" (without the quotes), not Simplified Chinese character symbols. Other characters in the same Unicode UTF-8 string which are in the ASCII range -are- drawn correctly. This appears to be a deliberate substitution happening inside RB (non-ASCII characters being replaced by ???, no matter how many of them exist); can someone please confirm this? Is it a "feature", or a bug? If it's a "feature", does that mean there is no way to use a StringShape to display "above-ASCII" characters in Unicode in other languages? If it's a bug, I'll file a report, and then the question will be, how possible is it to fix this? I've tried this both in RB 5.5.5 and 2006 r1 and the results are the same. The same string of Simplified Chinese characters does display properly when set into an EditText field in my main UI; this appears to be an issue ONLY when using a Unicode-encoded string inside of a StringShape (and when the characters in the string are above ASCII 127). -- David Miller Senior Software Developer, Digital Color Solutions ColorVision _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives of this list here: <http://support.realsoftware.com/listarchives/lists.html>
