mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-02-01 03:10:06 +00:00
Major overhaul of the String class, to rely more heavily on the CharPointer_UTF classes. On win32, the juce_wchar type is now a typedef for a 32-bit int, rather than the 16-bit wchar_t. The String class now has toUTF8(), toUTF16() and toUTF32() methods to retrieve the string in different formats.
This commit is contained in:
parent
1b05a7d46d
commit
e235912ae5
79 changed files with 2765 additions and 2028 deletions
|
|
@ -90,7 +90,7 @@ public:
|
|||
if (headers != 0)
|
||||
{
|
||||
V_VT (&headersVar) = VT_BSTR;
|
||||
V_BSTR (&headersVar) = SysAllocString ((const OLECHAR*) headers->joinIntoString ("\r\n"));
|
||||
V_BSTR (&headersVar) = SysAllocString ((const OLECHAR*) headers->joinIntoString ("\r\n").toUTF16().getAddress());
|
||||
}
|
||||
|
||||
if (postData != 0 && postData->getSize() > 0)
|
||||
|
|
@ -118,7 +118,7 @@ public:
|
|||
}
|
||||
}
|
||||
|
||||
browser->Navigate ((BSTR) (const OLECHAR*) url,
|
||||
browser->Navigate ((BSTR) (const OLECHAR*) url.toUTF16().getAddress(),
|
||||
&flags, &frame,
|
||||
&postDataVar, &headersVar);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue