Guigui220D / buildoland-3

After BuildOLand 1, BuildOLand 2, here comes BuildOLand 3!
7 stars 1 forks source link

Make language manager handle UTF #45

Closed Guigui220D closed 4 years ago

Guigui220D commented 4 years ago

Accents are not correctly displayed/loaded It's either because of the language manager or the type used Maybe use wstring

Guigui220D commented 4 years ago

nlohmann:json only supports utf8, we'll have to find a workaround, but it's not worth it right now.

Guigui220D commented 4 years ago

I got confused. UTF-8 supports accents and all the stuff. But passing a std::string to the set-string of a text makes it read it as an ANSI ascii string. I need to cast it to UTF-8, or directly use UTF-8 in the language manager, which makes more sense.