I’m using Cocoa, if that matters:
Can Xojo handle negative unicode codepoints? I have a Japanese user who reported that using this character
? – CJK UNIFIED IDEOGRAPH-98DF according to the Character Viewer
was causing problems. I am storing the text as RTF, and when I look at the StyledText.rtfData for a textArea with this character I get an empty value:
{\rtf1\ansi\ansicpg1252{\fonttbl{\f0\fnil HiraKakuProN-W3;}}{\colortbl\red0\green0\blue0;}\uc0 \f0\fs24 }
If I try to assign the correct RTF unicode entity, \u-26401 to RTFData, like this
textArea.styledText.RTFData = “{\rtf1\ansi\ansicpg1252{\fonttbl{\f0\fnil HiraKakuProN-W3;}}{\colortbl\red0\green0\blue0;}\fs24\f0 \u-26401?}”
the result is the same, no text.
I’ll file a bug if that’s what this is (it seems to be). Is there anything I’m missing?