juce::String:: copyToUTF8's documentation says:
To find out how many bytes you need to store this string as UTF-8, you can call
(and same phrase appears for other methods as well)
String::getNumBytesAsUTF8() be more convenient?? Am I missing something here? If I’m not then perhaps the documentation should suggest this method.