groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Groff] ISO-8859-15 for nroff.sh


From: Bernd Warken
Subject: [Groff] ISO-8859-15 for nroff.sh
Date: Thu, 16 Jun 2005 18:52:00 +0200

ISO-8859-15 is ISO-8859-1 enhanced by the Euro symbol.  So both are latin1.  
The following patch corrects nroff.sh to use them both.

###################### patch for <groff-source-top>/src/roff/nroff/

--- nroff.sh.orig       2005-05-18 09:03:07.000000000 +0200
+++ nroff.sh    2005-06-16 18:44:31.000000000 +0200
@@ -8,7 +8,7 @@
 case "`exec 2>/dev/null ; locale charmap`" in
   UTF-8)
     T=-Tutf8 ;;
-  ISO-8859-1)
+  ISO-8859-1 | ISO-8859-15)
     T=-Tlatin1 ;;
   IBM-1047)
     T=-Tcp1047 ;;
@@ -16,7 +16,8 @@
     case "${LC_ALL-${LC_CTYPE-${LANG}}}" in
       *.UTF-8)
         T=-Tutf8 ;;
-      iso_8859_1 | *.ISO-8859-1 | *.ISO8859-1)
+      iso_8859_1 | *.ISO-8859-1 | *.ISO8859-1 | \
+      iso_8859_15 | *.ISO-8859-15 | *.ISO8859-15)
         T=-Tlatin1 ;;
       *.IBM-1047)
         T=-Tcp1047 ;;

#####################################

Bernd Warken
______________________________________________________________
Verschicken Sie romantische, coole und witzige Bilder per SMS!
Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193





reply via email to

[Prev in Thread] Current Thread [Next in Thread]