Understand new locale names and Latin15 too
This commit is contained in:
parent
5d392cddf6
commit
0b680d18f6
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=77994
@ -7,7 +7,7 @@
|
|||||||
case "${LC_ALL-${LC_CTYPE-${LANG}}}" in
|
case "${LC_ALL-${LC_CTYPE-${LANG}}}" in
|
||||||
*.UTF-8)
|
*.UTF-8)
|
||||||
T=utf8 ;;
|
T=utf8 ;;
|
||||||
iso_8859_1 | *.ISO-8859-1 | *.ISO_8859-1)
|
iso_8859_1 | *.ISO*8859-1 | *.ISO*8859-15)
|
||||||
T=latin1 ;;
|
T=latin1 ;;
|
||||||
*.IBM-1047)
|
*.IBM-1047)
|
||||||
T=cp1047 ;;
|
T=cp1047 ;;
|
||||||
|
@ -17,7 +17,7 @@ case "`#locale charmap 2>/dev/null`" in
|
|||||||
case "${LC_ALL-${LC_CTYPE-${LANG}}}" in
|
case "${LC_ALL-${LC_CTYPE-${LANG}}}" in
|
||||||
*.UTF-8)
|
*.UTF-8)
|
||||||
T=-Tutf8 ;;
|
T=-Tutf8 ;;
|
||||||
iso_8859_1 | *.ISO-8859-1 | *.ISO_8859-1)
|
iso_8859_1 | *.ISO*8859-1 | *.ISO*8859-15)
|
||||||
T=-Tlatin1 ;;
|
T=-Tlatin1 ;;
|
||||||
*.IBM-1047)
|
*.IBM-1047)
|
||||||
T=-Tcp1047 ;;
|
T=-Tcp1047 ;;
|
||||||
|
Loading…
Reference in New Issue
Block a user