From e7d2b4770815f8d8dcca934d3520d3fe55f86b09 Mon Sep 17 00:00:00 2001 From: Owen Taylor Date: Tue, 13 Mar 2001 12:33:57 +0000 Subject: 0.9.3 Tue Mar 13 12:37:03 2001 Owen Taylor * 0.9.3 * Reworked the description of encoding handling for Legacy-Mixed for clarity and added a bit more details on how encoding-matching should be done. --- desktop-entry/ChangeLog | 8 +++ desktop-entry/desktop-entry-spec.sgml | 113 +++++++++++++++++++++++----------- 2 files changed, 84 insertions(+), 37 deletions(-) (limited to 'desktop-entry') diff --git a/desktop-entry/ChangeLog b/desktop-entry/ChangeLog index efc13cd..e39fb6c 100644 --- a/desktop-entry/ChangeLog +++ b/desktop-entry/ChangeLog @@ -1,3 +1,11 @@ +Tue Mar 13 12:37:03 2001 Owen Taylor + + * 0.9.3 + + * Reworked the description of encoding handling for + Legacy-Mixed for clarity and added a bit more details + on how encoding-matching should be done. + Thu Mar 8 17:42:05 2001 Owen Taylor * Import into CVS. diff --git a/desktop-entry/desktop-entry-spec.sgml b/desktop-entry/desktop-entry-spec.sgml index 25bab48..4c34a34 100644 --- a/desktop-entry/desktop-entry-spec.sgml +++ b/desktop-entry/desktop-entry-spec.sgml @@ -3,8 +3,8 @@
Desktop Entry Standard - Version 0.9.2 - 6 March 2001 + Version 0.9.3 + 13 March 2001 Preston @@ -803,7 +803,7 @@ Icon=fooview-edit.png 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 + by the language, or language-country pair from the locale tag, according to the following table. @@ -811,69 +811,108 @@ Icon=fooview-edit.png Encoding + Aliases Tags - ARMSCII-8 (*)by + ARMSCII-8 (*)by - BIG5zh_TW.Big5 + BIG5zh_TW - CP1251be bg + CP1251be bg - EUC-CNzh_CN.GB2312 + EUC-CNGB2312zh_CN - EUC-JPja + EUC-JPja - EUC-KRko + EUC-KRko - GEORGIAN-ACADEMY (*)ka_GE.georgianacademy + GEORGIAN-ACADEMY (*) - GEORGIAN-PS (*)ka + GEORGIAN-PS (*)ka - ISO-8859-1br ca da de en es eu fi fr gl it nl wa no pt pt sv + ISO-8859-1br ca da de en es eu fi fr gl it nl wa no pt pt sv - ISO-8859-2cs hr hu pl ro sk sl sq sr + ISO-8859-2cs hr hu pl ro sk sl sq sr - ISO-8859-3 eo + ISO-8859-3 eo - ISO-8859-5mk sp + ISO-8859-5mk sp - ISO-8859-7el + ISO-8859-7el - ISO-8859-9tr + ISO-8859-9tr - ISO-8859-13lt lv mi + ISO-8859-13lt lv mi - ISO-8859-14ga cy + ISO-8859-14ga cy - ISO-8859-15et + ISO-8859-15et - KOI8-Rru + KOI8-Rru - KOI8-Uuk + KOI8-Uuk - TCVN-5712 (*)vi vi_VN.TCVN + TCVN-5712 (*)TCVNvi - TIS-620th + TIS-620th + + VISCII - - 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.) + + + Encoding + + + The name given here is listed here is typically the + canonical name for the encoding in the GNU C Library's + iconv facility Encodings marked with (*) are not + currently supported by the GNU C Library; for this reason, + implementations may choose to ignore lines in desktop + files that resolve to this encoding. Desktop files with + these encodings are currently rare or non-existent. + + + + + Aliases + + + Other names for the encoding found in existing desktop + files. + + + + + Tags + + + Language tags for which this is the default encoding. + + + + + + This table above covers all tags and encodings that are known to + be currently in use. Implementors may choose to support + encodings not in the above set. For tags without defaults listed + in the above table, desktop file creators must specify the + ENCODING part of the locale tag. + + + Matching the ENCODING part of the locale tag against a locale + name or alias should be done by stripping all punctuation + characters from both the tag and the name or alias, converting + both name and alias to lowercase, and comparing the result. + This is necessary because, for example, "Big5" is frequently + found instead of "BIG5" and "georgianacademy" instead of + GEORGIAN-ACADEMY. Desktop files creators should, however, use + the name as it appears in the "Encoding" column above.
-- cgit v1.2.3-70-g09d2