I have a problem with non-ascii text and I'm unsure where the problem arises since I don't know how to tell VS2012 to display my variables correctly when debugging. I.e I can't see if a String contains the proper bytesequence of UTF8 chars or not.
The docs say that String is encoding the text as UTF8 by default and I haven't changed that.
Lets hope the forum can display UTF8 or this post will become really confusing!
For example, this line of code:
String c8 = CharPointer_UTF8("järnmalm");
seem to display the characters correctly in the VS2012 debugger even though it says it's a char* as "Type" (in the "Locals" or "Auto" panes).
However, when I use the File::findChildFiles to enumerate files, I get files on occasion that can't be represented as pure ASCII, for example a file called järnmalm.txt. When using File::getFullPathName on such a file, VS2012 displays the text in an odd way. It would seem that Juce as a whole is still able to work properly on the file represented by that string filename though. Any thoughts on that?
But it gets screwed up when I use the URL::addEscapeChars on the filename string. The result is mangled beyond recognision and is quite certainly wrong.