Unicode to RTF problem

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?

Ought to be able to, since it’s not really negative in any sense.

It’s almost certainly a bug. Are you targeting just Cocoa? or do you need support for other platforms?

I’m just targeting Cocoa, didn’t try in Carbon. But I’ve created a bug report, and included a simple sample project that shows the problem.