39 lines
992 B
Diff
39 lines
992 B
Diff
|
--- groff-1.18.1/src/roff/nroff/nroff.sh.orig 2003-02-06 19:37:17.000000000 +0900
|
||
|
+++ groff-1.18.1/src/roff/nroff/nroff.sh 2003-02-06 19:38:34.000000000 +0900
|
||
|
@@ -14,6 +14,8 @@
|
||
|
T=-Tcp1047 ;;
|
||
|
EUC-JP)
|
||
|
T=-Tnippon ;;
|
||
|
+ EUC-KR)
|
||
|
+ T=-Tkorean ;;
|
||
|
*)
|
||
|
case "${LC_ALL-${LC_CTYPE-${LANG}}}" in
|
||
|
*.UTF-8)
|
||
|
@@ -24,6 +26,8 @@
|
||
|
T=-Tcp1047 ;;
|
||
|
ja_JP.ujis | ja_JP.eucJP)
|
||
|
T=-Tnippon ;;
|
||
|
+ ko_KR.eucKR)
|
||
|
+ T=-Tkorean ;;
|
||
|
*)
|
||
|
case "$LESSCHARSET" in
|
||
|
utf-8)
|
||
|
@@ -34,6 +38,8 @@
|
||
|
T=-Tcp1047 ;;
|
||
|
japanese)
|
||
|
T=-Tnippon ;;
|
||
|
+ ko)
|
||
|
+ T=-Tkorean ;;
|
||
|
*)
|
||
|
T=-Tascii8 ;;
|
||
|
esac ;;
|
||
|
@@ -58,7 +64,7 @@
|
||
|
exit 1 ;;
|
||
|
-[iptSUC] | -[mrno]*)
|
||
|
opts="$opts $1" ;;
|
||
|
- -Tascii | -Tlatin1 | -Tutf8 | -Tcp1047 | -Tascii8 | -Tnippon)
|
||
|
+ -Tascii | -Tlatin1 | -Tutf8 | -Tcp1047 | -Tascii8 | -Tnippon | -Tkorean)
|
||
|
T=$1 ;;
|
||
|
-T*)
|
||
|
# ignore other devices
|