CharPointer_UTF32 Length Issue?


#1
const juce::uint32 text[] = { 1582, 8206 }; //Arabic chars
const juce::CharPointer_UTF32 cp (text);
DBG ((int) cp.length());

The output to the DBG() call is — 13???


#2

You might want to put a null-terminator on it… :wink:


#3

DOH!