1
Help / [solved] languages special characters [use UTF8 without BOM]
« on: October 01, 2018, 07:48:15 am »
Hello,
When I use extraString to input ufopedia new strings in different languages, I encounter a problem with special characters from certain languages. Like the é â è in french. They display correctly when it's from the vanilla fr.yml file. But when I imput them in a custom .rul using extraString, they display in game as ? ? ? If I write a custom .yml myself in my mod, it doesn't work either.
Obviously, the font image files and the font.dat do include them, it just doesn't use them when I write them in any of my mod files, but does when it's in the regular language .yml file.
My code:
Languages.rul
extraStrings:
- type: fr
strings:
STR_WHATEVER_UFOPEDIA: "my text here"
I did exactly like it is written in the equal term mod https://github.com/KingMob4313/Equal-Terms-Mods/blob/master/v1.0/data/Ruleset/EqualTerms_Weapons_v103.rul
If you have encountered that issue before, thank you for your help !
When I use extraString to input ufopedia new strings in different languages, I encounter a problem with special characters from certain languages. Like the é â è in french. They display correctly when it's from the vanilla fr.yml file. But when I imput them in a custom .rul using extraString, they display in game as ? ? ? If I write a custom .yml myself in my mod, it doesn't work either.
Obviously, the font image files and the font.dat do include them, it just doesn't use them when I write them in any of my mod files, but does when it's in the regular language .yml file.
My code:
Languages.rul
extraStrings:
- type: fr
strings:
STR_WHATEVER_UFOPEDIA: "my text here"
I did exactly like it is written in the equal term mod https://github.com/KingMob4313/Equal-Terms-Mods/blob/master/v1.0/data/Ruleset/EqualTerms_Weapons_v103.rul
If you have encountered that issue before, thank you for your help !