On Fri, Jun 27, 2008 at 3:10 PM, Martin Schulze <[EMAIL PROTECTED]> wrote: > Jörg Sommer wrote: >> Package: manpages >> Version: 2.80-1 >> Severity: normal >> >> Hi, >> >> % LC_ALL=C man ascii G 047 | awk '{print $4;}' | hexdump >> 0000000 270a >> ^^ >> >> % LC_ALL=de_DE.UTF-8 man ascii G 047 | awk '{print $4;}' | hexdump >> 0000000 c2b4 0a00 >> ^^^^ >> >> I think you must tell roff that you really mean the character 0x27. > > Arjan Opmeer wrote: >> >> Looking at the man page I see that the escaped version of some characters >> are used. >> >> \e for \ (which won't work when the escape character is redefined) >> \&_ for _ what is that non-printable, zero width character doing there? >> \` for ` but the escaped version maps to the grave accent >> \' for ' but the escaped version maps to the acute accent >> \- for - why? we want the real minus character, not some hyphen >> >> As UTF8 and all the ISO-8859-x fonts have the standard ASCII character set >> at the beginning, why not use the real ASCII characters in this man page? >> After all, it is about the ASCII set now how you could pretty format that on >> some output device. > > I have to admit that I'm lost here.
I don't feel very confident of all of the details myself. Better loop Stuart in on this one. I think he understands groff better than me and Joey, and he and I have been visiting this issue recently. Stuart, the Debian report is here: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=485990 Everyone else, note also this somewhat related change in the 3.00 change log, http://www.kernel.org/doc/man-pages/changelog.html#release_3.00 == Various pages mtk, after a note from Stuart Brady Using /'x'/ to denote a character (string) renders poorly in UTF-8, where the two ' characters render as closing single quotes. On the other hand, using /`x'/ renders nicely on UTF-8, where proper opening and closing single quotes are produced by groff(1), but looks ugly when rendered in ASCII. Using the sequence /\aqx\aq/ produces a reasonable rendering ('\aq' is a vertical "apostrophe quote") in both UTF-8 and ASCII. So that change is made in a number of pages. See also http://www.cl.cal.ac.uk/~mgk25/ucs/quotes.html. == And also the following mail thread: http://thread.gmane.org/gmane.comp.printing.groff.general/7495/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]