juce::String is able to hold a word Âme correctly. But when I try to create a juce string from std::string, I got a warning in the string constructor:
jassert (t == nullptr || CharPointer_ASCII::isValidString (t, (int) maxChars));
It suggests to call this with my string:
String (CharPointer_UTF8 (“my utf8 string…”))
So the word Âme becomes \302me. When I compare the juce string that holds Âme with this one, they are considered unequal. So how can I correctly create a juce string without needing to convert it?