I get an assertion: -[NSTextFieldCell _objectValue:forString:errorDescription:], /SourceCache/AppKit/AppKit-1038.35/AppKit.subproj/NSCell.m:1531
and then the application terminates hard!
Without the english only chars it works fine.
Doesn’t the NativeMessageBox handle Unicode chars ??
Edit: After som debugging it seems that the line:
in OSXMessageBox::getRawResult returns a NULL pointer. Ouch!
No, the place is correct. However, the string passed contains some bogus characters that fail the UTF8 to NSString internal conversion. Now I just need to figure out how they got there…
Ok, found it, it was an UTF8 const char* text that was converted to juce::String, not via String::fromUTF8, but the const char* constructor, and since I run english OS I have never gotten the assert in that constructor (CharPointer_ASCII::isValidString)…