I can't figure out how to get apostrophes displaying correctly in my Perl documentation. For example, the text 'test'
displays as âtestâ
.
E<39>
also renders asâ
- also
I<'>
- also
S<'>
- also
E<apos>
- also
C<'>
renders as"'"
(so apparently the terminal isn't the problem)F<'>
renders as underlinedâ
I've also tried running perldoc
with -T
, -n nroff
and -n troff
but none made a difference. Running with -t
fixed the apostrophe problem but also kills all other text attributes.
I've been putting up with this for a while, but it's really starting to irritate me. How can I get them displayed correctly?
@hwnd's bug report led me to the
LANG
environment variable. By changing it fromen_US.UTF-8
toen_US
I can get the perldocs displaying correctly. Not sure if this will cause problems elsewhere but so far I haven't run into any.