New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
perldoc mangles dashes and quotes #8723
Comments
From nospam-abuse@bloodgate.comperldoc mangles some characters when displaying text on the While this might look better, it destroys the possibility to This is especially bad for verbatim paragraphs, which often Attached is a very primitive sample package with POD, and perldoc A on my console, then marking the displayed text with the mouse, Some notes: * My system is fully Unicode, including the console. Since this problem has lead to at least one embarassing bug report from Best wishes, Tels Perl Info
|
From nospam-abuse@bloodgate.comNormal paragraph: Code: "call−>me()". Inline: call−>me(). ’single’ "double". Verbatim: Code: C<< call‐>me() >>. Inline: call‐>me(). ’single’ "double". Normal text again. |
From @JohnPeacockTels (via RT) wrote:
Happens with Gnome Terminal, as well.
and SuSE 10.2 (which is *really* nice, Tels, you should upgrade!)... SuSE 9.0 was the first time that they enabled Unicode by default, if I'm not John -- |
The RT System itself - Status changed from 'new' to 'open' |
From rick@bort.caOn Jan 03 2007, Tels wrote:
Don't you see this with other manpages? I guess maybe not because they
This should help perldoc -n 'nroff -Tascii' A Then you can just alias that. Or you could just alias John's way perldoc="LANG=en_US perldoc" I think you could also add the switch to $ENV{PERLDOC}. TMTOWTDI -- |
From nospam-abuse@bloodgate.com-----BEGIN PGP SIGNED MESSAGE----- Moin John et. al., John Peacock <jpeacock@rowman.com> wrote:
Thanx for the confirmation. :D
First: Upgrades of SuSE are always risky, especially with crypted file
I just wish computers were invented in Japan or China, and not in the "128 best wishes, tels - -- - -- "Laugh and the world laughs with you, snore and you sleep alone." -- -----BEGIN PGP SIGNATURE----- iQEVAwUBRZ0+NHcLPEOTuEwVAQJigQf+IVUUpxVw7XY787XWmSiW2ThAzrRX4/Tr |
From nospam-abuse@bloodgate.com-----BEGIN PGP SIGNED MESSAGE----- Moin, Rick Delaney <rick@bort.ca> wrote:
What other manpages? I am talking about perldoc, not about manpages.
You honestly ecpect me and the average user to: * find that "magic" option combo out somehow I expect perldoc to NOT modify (or prettify) the written documentation when
Ah, and I guess that then still works with a chinese POD file?
I prefer not to mess with my environment to work round broken software.
Like, fix the bug? Sorry if I sound bitter, but I firmly the believe the computer should work Best wishes, Tels - -- "If Duke Nukem Forever is not out in 2001, something's very wrong." - iQEVAwUBRZ1AEncLPEOTuEwVAQJ1Pgf+Iq4TlgQSAJB6rpdh+e4Gp+RsdGMIkGFJ |
From rick@bort.caOn Jan 04 2007, Tels wrote:
According to the first paragraph of perldoc's DESCRIPTION, perldoc is pod2man | nroff -man | $PAGER Which is to say that perldoc's default formatting is that of manpages.
Or manpages.
I expect nothing. I was simply suggesting a method you could use to get
If you don't want the documentation prettified at all, then you might be As for fixing this, there may be something Pod::Man could do to the -- |
From nospam-abuse@bloodgate.comMoin Rick, On Friday 05 January 2007 03:52, you wrote:
Ah. Should have read the doc then. *goes hiding in a corner* [snipabit]
Ok, I made a test C.pm with unicode chars in it. One more problem surfaces: te@linux:~/perl/perldoc> perldoc -t C Ugh. According to perldoc perlpod, "=encoding utf8" is the way to go. Second problem: perldoc C doesn't even show the chinese characters, but shows the Umlauts (and mangled perldoc -n 'nroff -Tascii' C Doesn't work either, and it warns a lot about chars it can't find. perldoc -n 'nroff -TUTF8' C Mangles the dashes, and looses the Chinese, again. Funnily enough, a plain: perldoc -t shows all the characters properly, including chinese, dashes and umlauts. "perldoc -t" doesn't look as "nice", e.g. it doesn't have bold headers etc, * perldoc -t should be the default, since nroff seems to be broken Optionally, if people really like the bold headers etc, "-t" could The current situation, where a plain "perldoc" is just wrong, is, well, Sorry if I sounded to harsh in my first reply, thanx a lot for your reply. best wishes, tels -- "Die deutsche Zensoren - - - - - - - - - - - - - - - - - - - - - - - - |
From @demerphqOn 1/4/07, Tels <nospam-abuse@bloodgate.com> wrote:
Just be glad it wasn't the Hawaiians, they have only 12 letters. :-) yves -- |
From rick@bort.caOn Jan 05 2007, Tels wrote:
A bit of research leads me to believe that Pod::Man should be doing some Perhaps we'll get a fresh shipment of round tuits now that it's a -- |
Migrated from rt.perl.org#41170 (status was 'open')
Searchable as RT41170$
The text was updated successfully, but these errors were encountered: