summaryrefslogtreecommitdiffstats
path: root/gl/config.charset
diff options
context:
space:
mode:
Diffstat (limited to 'gl/config.charset')
-rwxr-xr-xgl/config.charset46
1 files changed, 40 insertions, 6 deletions
diff --git a/gl/config.charset b/gl/config.charset
index 36ba683..7f91212 100755
--- a/gl/config.charset
+++ b/gl/config.charset
@@ -1,7 +1,7 @@
1#! /bin/sh 1#! /bin/sh
2# Output a system dependent table of character encoding aliases. 2# Output a system dependent table of character encoding aliases.
3# 3#
4# Copyright (C) 2000-2004, 2006-2008 Free Software Foundation, Inc. 4# Copyright (C) 2000-2004, 2006-2009 Free Software Foundation, Inc.
5# 5#
6# This program is free software; you can redistribute it and/or modify 6# This program is free software; you can redistribute it and/or modify
7# it under the terms of the GNU General Public License as published by 7# it under the terms of the GNU General Public License as published by
@@ -63,12 +63,13 @@
63# CP922 aix 63# CP922 aix
64# CP932 aix woe32 dos 64# CP932 aix woe32 dos
65# CP943 aix 65# CP943 aix
66# CP949 osf woe32 dos 66# CP949 osf darwin woe32 dos
67# CP950 woe32 dos 67# CP950 woe32 dos
68# CP1046 aix 68# CP1046 aix
69# CP1124 aix 69# CP1124 aix
70# CP1125 dos 70# CP1125 dos
71# CP1129 aix 71# CP1129 aix
72# CP1131 darwin
72# CP1250 woe32 73# CP1250 woe32
73# CP1251 glibc solaris netbsd openbsd darwin woe32 74# CP1251 glibc solaris netbsd openbsd darwin woe32
74# CP1252 aix woe32 75# CP1252 aix woe32
@@ -82,15 +83,17 @@
82# EUC-KR Y glibc aix hpux irix osf solaris freebsd netbsd darwin 83# EUC-KR Y glibc aix hpux irix osf solaris freebsd netbsd darwin
83# EUC-TW glibc aix hpux irix osf solaris netbsd 84# EUC-TW glibc aix hpux irix osf solaris netbsd
84# BIG5 Y glibc aix hpux osf solaris freebsd netbsd darwin 85# BIG5 Y glibc aix hpux osf solaris freebsd netbsd darwin
85# BIG5-HKSCS glibc solaris 86# BIG5-HKSCS glibc solaris darwin
86# GBK glibc aix osf solaris woe32 dos 87# GBK glibc aix osf solaris darwin woe32 dos
87# GB18030 glibc solaris netbsd 88# GB18030 glibc solaris netbsd darwin
88# SHIFT_JIS Y hpux osf solaris freebsd netbsd darwin 89# SHIFT_JIS Y hpux osf solaris freebsd netbsd darwin
89# JOHAB glibc solaris woe32 90# JOHAB glibc solaris woe32
90# TIS-620 glibc aix hpux osf solaris 91# TIS-620 glibc aix hpux osf solaris
91# VISCII Y glibc 92# VISCII Y glibc
92# TCVN5712-1 glibc 93# TCVN5712-1 glibc
94# ARMSCII-8 glibc darwin
93# GEORGIAN-PS glibc 95# GEORGIAN-PS glibc
96# PT154 glibc
94# HP-ROMAN8 hpux 97# HP-ROMAN8 hpux
95# HP-ARABIC8 hpux 98# HP-ARABIC8 hpux
96# HP-GREEK8 hpux 99# HP-GREEK8 hpux
@@ -449,7 +452,8 @@ case "$os" in
449 echo "ko_KR.EUC EUC-KR" 452 echo "ko_KR.EUC EUC-KR"
450 ;; 453 ;;
451 darwin*) 454 darwin*)
452 # Darwin 7.5 has nl_langinfo(CODESET), but it is useless: 455 # Darwin 7.5 has nl_langinfo(CODESET), but sometimes its value is
456 # useless:
453 # - It returns the empty string when LANG is set to a locale of the 457 # - It returns the empty string when LANG is set to a locale of the
454 # form ll_CC, although ll_CC/LC_CTYPE is a symlink to an UTF-8 458 # form ll_CC, although ll_CC/LC_CTYPE is a symlink to an UTF-8
455 # LC_CTYPE file. 459 # LC_CTYPE file.
@@ -476,6 +480,36 @@ case "$os" in
476 # minimize the use of decomposed Unicode. Unfortunately, through the 480 # minimize the use of decomposed Unicode. Unfortunately, through the
477 # Darwin file system, decomposed UTF-8 strings are leaked into user 481 # Darwin file system, decomposed UTF-8 strings are leaked into user
478 # space nevertheless. 482 # space nevertheless.
483 # Then there are also the locales with encodings other than US-ASCII
484 # and UTF-8. These locales can be occasionally useful to users (e.g.
485 # when grepping through ISO-8859-1 encoded text files), when all their
486 # file names are in US-ASCII.
487 echo "ISO8859-1 ISO-8859-1"
488 echo "ISO8859-2 ISO-8859-2"
489 echo "ISO8859-4 ISO-8859-4"
490 echo "ISO8859-5 ISO-8859-5"
491 echo "ISO8859-7 ISO-8859-7"
492 echo "ISO8859-9 ISO-8859-9"
493 echo "ISO8859-13 ISO-8859-13"
494 echo "ISO8859-15 ISO-8859-15"
495 echo "KOI8-R KOI8-R"
496 echo "KOI8-U KOI8-U"
497 echo "CP866 CP866"
498 echo "CP949 CP949"
499 echo "CP1131 CP1131"
500 echo "CP1251 CP1251"
501 echo "eucCN GB2312"
502 echo "GB2312 GB2312"
503 echo "eucJP EUC-JP"
504 echo "eucKR EUC-KR"
505 echo "Big5 BIG5"
506 echo "Big5HKSCS BIG5-HKSCS"
507 echo "GBK GBK"
508 echo "GB18030 GB18030"
509 echo "SJIS SHIFT_JIS"
510 echo "ARMSCII-8 ARMSCII-8"
511 echo "PT154 PT154"
512 #echo "ISCII-DEV ?"
479 echo "* UTF-8" 513 echo "* UTF-8"
480 ;; 514 ;;
481 beos* | haiku*) 515 beos* | haiku*)