Your message dated Sun, 26 Aug 2007 14:30:55 +0100
with message-id <[EMAIL PROTECTED]>
and subject line Bug#354418: man-db: LC_CTYPE=zh_TW.utf8 vs. quote marks
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: man-db
Version: 2.4.3-3
Severity: wishlist

Hrumf. Can't use LC_CTYPE=zh_TW.utf8 or else ASCII examples get turned
into smart quotes oversmartness:
$ env|egrep LC\|zh
LC_MESSAGES=C
LC_COLLATE=C
LANG=zh_TW.utf8
LC_CTYPE=zh_TW.utf8
$ man bash|grep /bfox|cat -v
 [EMAIL PROTECTED]/var/mail/bfox?"You have mail":~/shell-mail?"$_ has
$ LC_CTYPE=C man bash|grep /bfox|cat -v
 MAILPATH='/var/mail/bfox?"You have mail":~/shell-mail?"$_ has
So in emacs I must do (setq manual-program "LC_CTYPE=C man")
but what about in the shell? man --ascii apparently is something different.

I can no longer cut and paste examples from man pages, I mean weren't
those examples meant to be ASCII? Am I to blame?


--- End Message ---
--- Begin Message ---
reassign 354418 groff-base
tags 354418 wontfix
thanks

On Sun, Feb 26, 2006 at 07:41:02AM +0800, Dan Jacobson wrote:
> Hrumf. Can't use LC_CTYPE=zh_TW.utf8 or else ASCII examples get turned
> into smart quotes oversmartness:
> $ env|egrep LC\|zh
> LC_MESSAGES=C
> LC_COLLATE=C
> LANG=zh_TW.utf8
> LC_CTYPE=zh_TW.utf8
> $ man bash|grep /bfox|cat -v
>  [EMAIL PROTECTED]/var/mail/bfox?"You have mail":~/shell-mail?"$_ has
> $ LC_CTYPE=C man bash|grep /bfox|cat -v
>  MAILPATH='/var/mail/bfox?"You have mail":~/shell-mail?"$_ has
> So in emacs I must do (setq manual-program "LC_CTYPE=C man")
> but what about in the shell? man --ascii apparently is something different.
> 
> I can no longer cut and paste examples from man pages, I mean weren't
> those examples meant to be ASCII? Am I to blame?

The authors of the manual pages in question should use the correct
escape sequences documented in groff_char(7) if they want to ensure
ASCII quote marks in the output. \(aq produces ', \` produces `, and
\(dq produces ". groff does not guarantee to output literal quote
characters literally, even if it happens to "work" in ASCII locales.

Regards,

-- 
Colin Watson                                       [EMAIL PROTECTED]

--- End Message ---

Reply via email to