0ad/source/ps/scripting
elexis e7ab22286e Fix the replay menu for people with non-latin characters in their username.
Use OsPath instead of CStr and CStrW where possible,
wstring_from_utf8(OsPath.string8()) to pass printable strings to the
JSAPI,
OsString when opening a filestream and
off_t instead of int for filesizes.

Fixes #4320
Differential Revision: https://code.wildfiregames.com/D518
Reviewed By: Imarok
Tested By: Imarok on Windows, wraitii on OSX
Special thanks to Philip for advice and the lib/path.h fix in
47cc447322.

This was SVN commit r19824.
2017-06-25 14:54:00 +00:00
..
JSInterface_ConfigDB.cpp Actually remove trailing tabs from source/. 2016-11-23 14:09:58 +00:00
JSInterface_ConfigDB.h allows the user to restore the default game options, refs #3737 2016-02-07 15:10:44 +00:00
JSInterface_Console.cpp Actually remove trailing tabs from source/. 2016-11-23 14:09:58 +00:00
JSInterface_Console.h Replace or remove uses of Engine.Console_Write. Patch by Adrian Fatol. Fixes #2141. 2014-07-24 21:27:24 +00:00
JSInterface_Mod.cpp SpiderMonkey 38 upgrade: 13/35 2016-09-02 16:28:17 +00:00
JSInterface_Mod.h Use const T& for parameters of some types in script-exposed native functions 2016-01-23 15:17:56 +00:00
JSInterface_VFS.cpp Actually remove trailing whitespace for non-header files as well. 2016-11-23 13:02:58 +00:00
JSInterface_VFS.h Use const T& for parameters of some types in script-exposed native functions 2016-01-23 15:17:56 +00:00
JSInterface_VisualReplay.cpp Fix the replay menu for people with non-latin characters in their username. 2017-06-25 14:54:00 +00:00
JSInterface_VisualReplay.h Fix replay menu loading time by using a cache file 2017-05-27 20:17:57 +00:00