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:
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user