1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-02-05 03:50:07 +00:00

Added String methods to create/return a std::string, and also String::toRawUTF8 method.

This commit is contained in:
jules 2013-04-17 15:17:36 +01:00
parent 9792475bdc
commit b4382bad62
14 changed files with 55 additions and 25 deletions

View file

@ -180,7 +180,7 @@ namespace CodeHelpers
String addEscapeChars (const String& s)
{
MemoryOutputStream out;
writeEscapeChars (out, s.toUTF8().getAddress(), -1, -1, false, true, true);
writeEscapeChars (out, s.toRawUTF8(), -1, -1, false, true, true);
return out.toUTF8();
}