CharPointer_UTF32 Length Issue?

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???

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

DOH!