--- src/libs/libgroff/encoding.cc.orig	2005-04-05 23:32:35.363499000 +0800
+++ src/libs/libgroff/encoding.cc	2005-04-05 00:04:46.000000000 +0800
@@ -392,7 +392,10 @@
   else
     charset = "";
 #endif
-  if (strncmp(locale, "ja", 2) == 0) {
+  if ((strncmp(locale, "ja", 2) == 0) || 
+        (((strncmp(locale, "ko", 2) == 0) || (strncmp(locale, "zh", 2) == 0))
+           && (strcmp(charset, "UTF-8") == 0)))
+  {
     select_input_encoding_handler(charset);
     select_output_encoding_handler(charset);
   } else if ((!device || strcmp(device, "ascii8") == 0)) {
