On this new-fangled Fedora 6 system at work I'm getting what I assume are meant to be quotes displaying as a strange sequence, e.g.:-
âmainâ
Note that the above appears to me as:-
â\x80\x98mainâ\x80\x99
I think the above is meant to be `main', or something like that. It's only happening in some places, for example man pages and compiler error messages.
I suspect that the original Gnome incarnation was doing something 'clever' and now that I'm using plain X and fvwm2 I need to turn something off - but what?
On Tue, Mar 13, 2007 at 01:43:03PM +0000, Eur Ing Chris Green wrote:
On this new-fangled Fedora 6 system at work I'm getting what I assume are meant to be quotes displaying as a strange sequence, e.g.:-
âmainâ
Note that the above appears to me as:-
â\x80\x98mainâ\x80\x99
I think the above is meant to be `main', or something like that. It's only happening in some places, for example man pages and compiler error messages.
I suspect previously you were in a UTF-8 locale and now you're in ISO-8859-1 or similar. Check what you have LANG set to in your environment? I have LANG=en_GB.UTF-8 and in your original mail I can see the quotes around main fine (ignoring the fact your headers claim iso_8859_1).
J.
On Tue, Mar 13, 2007 at 03:16:27PM +0000, Jonathan McDowell wrote:
On Tue, Mar 13, 2007 at 01:43:03PM +0000, Eur Ing Chris Green wrote:
On this new-fangled Fedora 6 system at work I'm getting what I assume are meant to be quotes displaying as a strange sequence, e.g.:-
âmainâ
Note that the above appears to me as:-
â\x80\x98mainâ\x80\x99
I think the above is meant to be `main', or something like that. It's only happening in some places, for example man pages and compiler error messages.
I suspect previously you were in a UTF-8 locale and now you're in ISO-8859-1 or similar. Check what you have LANG set to in your environment? I have LANG=en_GB.UTF-8 and in your original mail I can see the quotes around main fine (ignoring the fact your headers claim iso_8859_1).
That would be right, I did send the mail with an ISO-8859-1 character set, I just pasted the (presumably) UTF-8 ones into the editor.
The LANG variable is set to en_US.UTF-8, however I suspect it's something to do with certain applications. An xterm displays the (horrible) UTF-8 quites whereas an rxvt doesn't. I maybe need to see hoe to build the incorrect applications to work with UTF8.
Aha, much simpler, just change the LANG environment variable to en_GB.iso88591 and all is well. (That's what 'locale -a' gives me, not the expected en_GB.iso8859-1)
Thanks for the pointer.