aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2001-06-10 17:03:37 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2001-06-10 17:03:37 +0000
commit0b680d18f699b1478c02986491ecd5f07cef8969 (patch)
tree02a809581b0fa7e193fc70f997213e454010d03e
parent5d392cddf671b6441b988e1214a5bf0a622f4048 (diff)
downloadsrc-0b680d18f699b1478c02986491ecd5f07cef8969.tar.gz
src-0b680d18f699b1478c02986491ecd5f07cef8969.zip
Understand new locale names and Latin15 too
Notes
Notes: svn path=/head/; revision=77994
-rw-r--r--contrib/groff/src/preproc/eqn/neqn.sh2
-rwxr-xr-xcontrib/groff/src/roff/nroff/nroff.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/contrib/groff/src/preproc/eqn/neqn.sh b/contrib/groff/src/preproc/eqn/neqn.sh
index 745599b46a7b..dadf8f16a6bb 100644
--- a/contrib/groff/src/preproc/eqn/neqn.sh
+++ b/contrib/groff/src/preproc/eqn/neqn.sh
@@ -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 ;;
diff --git a/contrib/groff/src/roff/nroff/nroff.sh b/contrib/groff/src/roff/nroff/nroff.sh
index e16472e61617..82f9031cd8c5 100755
--- a/contrib/groff/src/roff/nroff/nroff.sh
+++ b/contrib/groff/src/roff/nroff/nroff.sh
@@ -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 ;;