Understand new locale names and Latin15 too

This commit is contained in:
Andrey A. Chernov 2001-06-10 17:03:37 +00:00
parent 5d392cddf6
commit 0b680d18f6
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=77994
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@
case "${LC_ALL-${LC_CTYPE-${LANG}}}" in
*.UTF-8)
T=utf8 ;;
iso_8859_1 | *.ISO-8859-1 | *.ISO_8859-1)
iso_8859_1 | *.ISO*8859-1 | *.ISO*8859-15)
T=latin1 ;;
*.IBM-1047)
T=cp1047 ;;

View File

@ -17,7 +17,7 @@ case "`#locale charmap 2>/dev/null`" in
case "${LC_ALL-${LC_CTYPE-${LANG}}}" in
*.UTF-8)
T=-Tutf8 ;;
iso_8859_1 | *.ISO-8859-1 | *.ISO_8859-1)
iso_8859_1 | *.ISO*8859-1 | *.ISO*8859-15)
T=-Tlatin1 ;;
*.IBM-1047)
T=-Tcp1047 ;;