Desktop Entry Standard | ||
---|---|---|
<<< Previous |
The Legacy-Mixed encoding corresponds to the traditional encoding of desktop files in older versions of the GNOME and KDE desktop files. In this encoding, the encoding of each localestring key is determined by the locale tag for that key, if any. For keys without a locale tag, the value must contain only ASCII characters.
If the locale tag includes an .ENCODING part, then that determines the encoding for the line. Otherwise, the encoding is determined by the language, or language-country pair from the locale, according to the following table.
Encoding | Tags |
---|---|
ARMSCII-8 (*) | by |
BIG5 | zh_TW.Big5 |
CP1251 | be bg |
EUC-CN | zh_CN.GB2312 |
EUC-JP | ja |
EUC-KR | ko |
GEORGIAN-ACADEMY (*) | ka_GE.georgianacademy |
GEORGIAN-PS (*) | ka |
ISO-8859-1 | br ca da de en es eu fi fr gl it nl wa no pt pt sv |
ISO-8859-2 | cs hr hu pl ro sk sl sq sr |
ISO-8859-3 | eo |
ISO-8859-5 | mk sp |
ISO-8859-7 | el |
ISO-8859-9 | tr |
ISO-8859-13 | lt lv mi |
ISO-8859-14 | ga cy |
ISO-8859-15 | et |
KOI8-R | ru |
KOI8-U | uk |
TCVN-5712 (*) | vi vi_VN.TCVN |
TIS-620 | th |
Encodings marked with a (*) are not currently supported by the GNU C Library; for this reason, implementations may choose to ignore lines in desktop files with the corresponding tags. Desktop files with these tags are currently rare or non-existent.
The encoding here is listed according to its canonical name in the GNU C Library's iconv facility. The more common tags tags found with an encoding part are listed here, so that implementors can verify that the correct encoding will be used. (In particular, note the mismatch between zh_CN.GB2312, and the canonical name EUC-CN.)
<<< Previous | Home | |
Example Desktop Entry File |