mirror of
https://github.com/kichikuou/system3-sdl2.git
synced 2026-09-29 02:18:09 +03:00
Add support for UTF-8 encoded scenario files
If `encoding = utf8` is specified in system3.ini, system3-sdl2 uses UTF-8 as its multibyte character encoding. It will be used to run games translated into non-(Japanese|English) languages.
This commit is contained in:
+1
-1
@@ -24,7 +24,7 @@ NACT::NACT(int sys_ver, uint32 crc32_a, uint32 crc32_b, const Config& config)
|
||||
crc32_a(crc32_a),
|
||||
crc32_b(crc32_b),
|
||||
lang(get_language()),
|
||||
encoding(Encoding::create())
|
||||
encoding(Encoding::create(get_encoding_name(config)))
|
||||
{
|
||||
platform_initialize();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user