I’ve been struggling for a little while with this under Visual Studio, and a Mac user told me he had the same problem under Xcode
Coming from a country where we have a lot of non-ASCII characters, I can only applaud the move from ascii strings to UTF strings but it came at a cost : I can’t see the strings in my debugger.
I tried a few things already (win32 + intel compiler) :
- messing with autoexp.dat
- changing the way juce encodes strings internally ( #define JUCE_STRING_UTF_TYPE 8 to #define JUCE_STRING_UTF_TYPE 16 to match Windows internals)
- trying to call toWideCharPointer() from the watch window of VS
Only the later method works …sometimes, not very often.
Because I can’t believe you guys are all debugging strings using DBG macros or stuff like that, I’m pretty sure there’s a way to display strings in the debugger, under Visual Studio, and under Xcode.
I’m using VS2010 with Intel compiler 13.