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:
kichikuou
2021-09-04 15:21:52 +09:00
parent 92487ada06
commit 14d0033db3
8 changed files with 78 additions and 7 deletions
+1 -1
View File
@@ -5,7 +5,7 @@
class Encoding {
public:
static std::unique_ptr<Encoding> create();
static std::unique_ptr<Encoding> create(const char* name);
virtual ~Encoding() = default;