Open matortheeternal opened 6 years ago
It looks like all we have to do is set wbStringEncoding := seUTF8;
https://github.com/TES5Edit/TES5Edit/blob/dev/wbInit.pas#L768-L771
I see, it seems to only set command-line argument to "-cp:utf-8" to set UTF8.
Text garbled, it needs something else.
xEdit executes wbStringEncoding := seUTF8;
when the command line argument is provided. Smash does not support the same command line arguments as xEdit, but it uses the xEdit framework, so setting wbStringEncoding to UTF8 in Smash, per e00ae70, should get the job done.
Great work, I think this method will also deliver same good result on your "Merge Plugins".
Using UTF8 encoding appears to cause problems for users of Russian game installations. Using a command line parameter for Smash should fix this problem.
Where is the character-code defined?