ikemen-engine / Ikemen-GO

An open-source fighting game engine that supports MUGEN resources.
https://ikemen-engine.github.io
Other
736 stars 126 forks source link

Character encoding correction function desired #593

Open kousamugen opened 2 years ago

kousamugen commented 2 years ago

There is a problem that some files with Japanese names cannot be read due to character encoding issues For example, files with Japanese names such as .cns cannot be read. Or, the Japanese name file .def itself cannot be read. etc. Please modify your encoding to fix these problems.

Engine Version:All Version OS:Windows 10

EgyLynx commented 2 years ago

... Well.... That cannot do, unles windows put self at two signs at similar, so Now byou can´t read at Japanese signs/r letters, but with Nippon keobroard and and these thinks, win can read these, not program...

And it at wery difficult get program which understands at all possible signs at world annd do it fast... sorry, if that not help you...

kousamugen commented 2 years ago

No, no, I'm sorry I didn't explain it better either. I meant to say that the encoding for double-byte characters is not working properly and Japanese files are not loaded.

NeatUnsou commented 2 years ago

They can be read by setting the def file encoding to UTF-8.

MUGEN supports SJIS, so it can read Japanese files, but the only 2-byte character this format supports is Japanese. This will probably never change, as the UTF-8 format can support many different languages. Please re-encode files to UTF-8 for IKEMEN GO.

kousamugen commented 2 years ago

Understood. Thank you for getting back to me.

EgyLynx commented 2 years ago

Hmm, litlle easier or complex to code... ... ohmy...