Author Topic: Translation / encoding ?  (Read 4499 times)

Offline Ascadix

  • Captain
  • ***
  • Posts: 84
  • My English is as good as French schools ... :-p
    • View Profile
Translation / encoding ?
« on: December 15, 2013, 06:10:12 pm »
Hello,

I'm trying to translate some MOD to French, but i wonder which is the best suited encoding for the ruleset files ?

Some existing files are UTF-8 w/o BOM,  is it the preferred choice ?

Thanks.

Offline yrizoud

  • Commander
  • *****
  • Posts: 1014
    • View Profile
Re: Translation / encoding ?
« Reply #1 on: December 16, 2013, 04:30:03 pm »
OpenXCom is using a library called YAML to load (and sometimes write)  the data text files. According to the docs, it should support quite a few encodings.
In my opinion, you should use the same encoding as the files from "stock" OpenXcom distribution : if a curious user wants to look or modify files, your files will behave like the others.

Offline SupSuper

  • Lazy Developer
  • Administrator
  • Commander
  • *****
  • Posts: 2162
    • View Profile
Re: Translation / encoding ?
« Reply #2 on: December 16, 2013, 05:55:32 pm »
Hello,

I'm trying to translate some MOD to French, but i wonder which is the best suited encoding for the ruleset files ?

Some existing files are UTF-8 w/o BOM,  is it the preferred choice ?

Thanks.
UTF-8 w/o BOM is the standard.

Offline Ascadix

  • Captain
  • ***
  • Posts: 84
  • My English is as good as French schools ... :-p
    • View Profile
Re: Translation / encoding ?
« Reply #3 on: December 19, 2013, 01:34:43 am »
UTF-8 w/o BOM is the standard.

Ok, thanks.