Understand new locale names and Latin15 too

This commit is contained in:
ache 2001-06-10 17:03:37 +00:00
parent a5caafd431
commit 0e0576aaac
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 ;;