Copy from home:mvyskocil:branches:M17N/groff via accept of submit request 22399 revision 3. Request was accepted with message: OK OBS-URL: https://build.opensuse.org/request/show/22399 OBS-URL: https://build.opensuse.org/package/show/M17N/groff?expand=0&rev=4
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)) {
|