1
0
forked from mirrors/0ad

Remove a load of implicit CStr type conversions, since they're error-prone and can cause silent data loss.

Handle most CStr8/CStrW conversions via UTF-8 instead of effectively
assuming Latin-1.
Return UTF-8 strings from Xeromyces API.

This was SVN commit r8929.
This commit is contained in:
Ykkrosh
2011-02-17 20:08:20 +00:00
parent 4f724056d5
commit 1c7e33b528
69 changed files with 372 additions and 562 deletions
-5
View File
@@ -202,11 +202,6 @@ public:
std::wstring ToString(jsval obj);
/**
* Parse a JSON string. Returns the undefined value on error.
*/
CScriptValRooted ParseJSON(const utf16string& string);
/**
* Parse a UTF-8-encoded JSON string. Returns the undefined value on error.
*/