I’m following this tutorial for implementing translations into my game. While importing though, I get this block of error messages:

The csv I have in the file system contains this data:

and it uses UTF 16. It seems as if Godot expects a UTF 8 file for some reason, even though these files don’t support speciala characters (which are used heavily in different languages). Does someone know what is going on here?

  • nargacu83@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    The “keys” thing doesn’t seem to be necessary, but thank you, I’ll read through it.

    Yes, you are right, sorry i always put it just in case.

    EDIT: How are we supposed to enter these special characters for different languages with UTF 8?

    What languages are you talking about? Do you use specific characters that are not supported?

    You could enter the unicode value of your characters in your UTF-8 translation file and then use a script to convert these values to UTF-16 or make your own tool / extension to add the feature. I don’t know much in the unicode formatting area.