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:
parent
9792475bdc
commit
b4382bad62
14 changed files with 55 additions and 25 deletions
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue