14 lines
563 B
Diff
14 lines
563 B
Diff
|
Index: groff-1.18.1.1/src/libs/libgroff/encoding.cc
|
||
|
===================================================================
|
||
|
--- groff-1.18.1.1.orig/src/libs/libgroff/encoding.cc
|
||
|
+++ groff-1.18.1.1/src/libs/libgroff/encoding.cc
|
||
|
@@ -392,7 +392,7 @@ init_encoding_handler()
|
||
|
else
|
||
|
charset = "";
|
||
|
#endif
|
||
|
- if (strncmp(locale, "ja", 2) == 0) {
|
||
|
+ if (strncmp(locale, "ja", 2) == 0||strncmp(locale,"zh" ,2) == 0) {
|
||
|
select_input_encoding_handler(charset);
|
||
|
select_output_encoding_handler(charset);
|
||
|
} else if ((!device || strcmp(device, "ascii8") == 0)) {
|