From 4d91fc9a2dc38054b8748f27193dc3a6950bda3c Mon Sep 17 00:00:00 2001 From: root Date: Tue, 7 Jun 2011 22:47:46 +0000 Subject: Tue Jun 7 22:47:46 UTC 2011 --- core/man-db/1361_1360.diff | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 core/man-db/1361_1360.diff (limited to 'core/man-db/1361_1360.diff') diff --git a/core/man-db/1361_1360.diff b/core/man-db/1361_1360.diff new file mode 100644 index 000000000..c93856980 --- /dev/null +++ b/core/man-db/1361_1360.diff @@ -0,0 +1,25 @@ +=== modified file 'src/straycats.c' +--- src/straycats.c 2011-01-10 20:08:22 +0000 ++++ src/straycats.c 2011-06-04 06:34:51 +0000 +@@ -177,6 +177,7 @@ + char *lang, *page_encoding; + char *mandir_base; + pipecmd *col_cmd; ++ char *col_locale; + char *fullpath; + + /* we have a straycat. Need to filter it and get +@@ -226,6 +227,12 @@ + col_cmd = pipecmd_new_argstr + (get_def_user ("col", COL)); + pipecmd_arg (col_cmd, "-bx"); ++ col_locale = find_charset_locale ("UTF-8"); ++ if (col_locale) { ++ pipecmd_setenv (col_cmd, "LC_CTYPE", ++ col_locale); ++ free (col_locale); ++ } + pipeline_command (decomp, col_cmd); + + fullpath = canonicalize_file_name (catdir); + -- cgit v1.2.3-54-g00ecf