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?

  • Smorty [she/her]OP
    link
    fedilink
    1
    edit-2
    1 year ago

    The top-left cell is ignored and can be left empty or having any content.

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

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

    • @nargacu83
      link
      11 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.

    • @[email protected]
      link
      fedilink
      11 year ago

      Utf-8 is still Unicode and supports the same set of characters. Just encoded differently, with a variable amount of bytes per character. So, it should work, unless the software writing the file doesn’t support it properly.