OpenXcom Forum

Modding => Work In Progress => Topic started by: Ascadix on December 15, 2013, 06:10:12 pm

Title: Translation / encoding ?
Post by: Ascadix 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.
Title: Re: Translation / encoding ?
Post by: yrizoud 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.
Title: Re: Translation / encoding ?
Post by: SupSuper 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.
Title: Re: Translation / encoding ?
Post by: Ascadix on December 19, 2013, 01:34:43 am
UTF-8 w/o BOM is the standard.

Ok, thanks.