1 |
#! /bin/sh |
#! /bin/sh |
2 |
# Output a system dependent table of character encoding aliases. |
# Output a system dependent table of character encoding aliases. |
3 |
# |
# |
4 |
# Copyright (C) 2000-2001 Free Software Foundation, Inc. |
# Copyright (C) 2000-2002 Free Software Foundation, Inc. |
5 |
# |
# |
6 |
# This program is free software; you can redistribute it and/or modify it |
# This program is free software; you can redistribute it and/or modify it |
7 |
# under the terms of the GNU Library General Public License as published |
# under the terms of the GNU Library General Public License as published |
235 |
#echo "sun_eu_greek ?" # what is this? |
#echo "sun_eu_greek ?" # what is this? |
236 |
echo "UTF-8 UTF-8" |
echo "UTF-8 UTF-8" |
237 |
;; |
;; |
238 |
freebsd*) |
freebsd* | os2*) |
239 |
# FreeBSD 4.2 doesn't have nl_langinfo(CODESET); therefore |
# FreeBSD 4.2 doesn't have nl_langinfo(CODESET); therefore |
240 |
# localcharset.c falls back to using the full locale name |
# localcharset.c falls back to using the full locale name |
241 |
# from the environment variables. |
# from the environment variables. |
242 |
|
# Likewise for OS/2. OS/2 has XFree86 just like FreeBSD. Just |
243 |
|
# reuse FreeBSD's locale data for OS/2. |
244 |
echo "C ASCII" |
echo "C ASCII" |
245 |
echo "US-ASCII ASCII" |
echo "US-ASCII ASCII" |
246 |
for l in la_LN lt_LN; do |
for l in la_LN lt_LN; do |
272 |
echo "ja_JP.Shift_JIS SHIFT_JIS" |
echo "ja_JP.Shift_JIS SHIFT_JIS" |
273 |
echo "ko_KR.EUC EUC-KR" |
echo "ko_KR.EUC EUC-KR" |
274 |
;; |
;; |
275 |
|
netbsd*) |
276 |
|
echo "646 ASCII" |
277 |
|
echo "ISO8859-1 ISO-8859-1" |
278 |
|
echo "ISO8859-2 ISO-8859-2" |
279 |
|
echo "ISO8859-4 ISO-8859-4" |
280 |
|
echo "ISO8859-5 ISO-8859-5" |
281 |
|
echo "ISO8859-15 ISO-8859-15" |
282 |
|
echo "eucCN GB2312" |
283 |
|
echo "eucJP EUC-JP" |
284 |
|
echo "eucKR EUC-KR" |
285 |
|
echo "eucTW EUC-TW" |
286 |
|
echo "BIG5 BIG5" |
287 |
|
echo "SJIS SHIFT_JIS" |
288 |
|
;; |
289 |
beos*) |
beos*) |
290 |
# BeOS has a single locale, and it has UTF-8 encoding. |
# BeOS has a single locale, and it has UTF-8 encoding. |
291 |
echo "* UTF-8" |
echo "* UTF-8" |
410 |
echo "bg_BG CP866" # not CP855 ?? |
echo "bg_BG CP866" # not CP855 ?? |
411 |
echo "mk CP866" # not CP855 ?? |
echo "mk CP866" # not CP855 ?? |
412 |
echo "mk_MK CP866" # not CP855 ?? |
echo "mk_MK CP866" # not CP855 ?? |
413 |
echo "ru KOI8-R" # not CP866 ?? |
echo "ru CP866" |
414 |
echo "ru_RU KOI8-R" # not CP866 ?? |
echo "ru_RU CP866" |
415 |
# ISO-8859-6 languages |
# ISO-8859-6 languages |
416 |
echo "ar CP864" |
echo "ar CP864" |
417 |
echo "ar_AE CP864" |
echo "ar_AE CP864" |