Re: man and UTF-8 locales

From: Anonymous <swell.k_at_gmail.com>
Date: Mon, 24 Aug 2009 20:59:12 +0400
Boris Samorodov <bsam_at_ipt.ru> writes:

> Hi!
>
> Manual pages are still broken for UTF-8 locale. Here is a part
> of bzip2(1):
> ftp://ftp.ipt.ru/pub/images/man_bzip2.gif

 `-' (0x2D, HYPHEN-MINUS) renders as `‐' (U+2010, HYPHEN).

See r192561 and this *workaround*

%%%
Index: contrib/groff/font/devutf8/R.proto
===================================================================
--- contrib/groff/font/devutf8/R.proto	(revision 196511)
+++ contrib/groff/font/devutf8/R.proto	(working copy)
_at__at_ -667,7 +667,7 _at__at_
 u050D	24	0	0x050D
 u050E	24	0	0x050E
 u050F	24	0	0x050F
--	24	0	0x2010
+-	24	0	0x002D
 hy	"
 en	24	0	0x2013
 em	24	0	0x2014
%%%

Or better fix man page so it uses \- for command-line options.

>
> The system:
> -----
> % uname -srm
> FreeBSD 8.0-BETA3 i386
> % locale
> LANG=ru_RU.UTF-8
> LC_CTYPE="ru_RU.UTF-8"
> LC_COLLATE="ru_RU.UTF-8"
> LC_TIME="ru_RU.UTF-8"
> LC_NUMERIC="ru_RU.UTF-8"
> LC_MONETARY="ru_RU.UTF-8"
> LC_MESSAGES="ru_RU.UTF-8"
> LC_ALL=
> -----
>
> Are there any plans to fix it? Thanks!
Received on Mon Aug 24 2009 - 14:59:52 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:54 UTC