<<< Date Index >>>     <<< Thread Index >>>

Re: Charset issue?



On Sun, 13 May 2007 or thereabouts, Alain Bench came forth with:

>  On Saturday, May 12, 2007 at 14:37:14 +1200, Roland Hill wrote:

> > $ echo $LANG
> > en_NZ.UTF-8

>     OK: For now, keep this one. And don't set $charset in muttrc: It is
> supposed to take the good value automagically. Type ":set ?charset"
> directly in Mutt to check it says charset="utf-8". Then take a look at
> the garbled messages.


> > LANGUAGE=en_NZ:en

>     That is a valid value: A colon-separated list of locales in prefered
> order for messages. A sort-of super-LC_MESSAGES. However your setting is
> not very interesting, so I'd tend to advice to unset it, and wipe it
> from whatever startup file(s) do set it. But you can do as you like.

Alain, I'll jump in at this point and say that I have made some changes
since we started this in the interest of me trying to help myself. I
posted a "SOLVED" followup, but maybe it isn't? I hope this hasn't wasted
your time. Garbled messages are now fine.

>     Et merde! Sorry Roland, my mistake: I managed to give you a syntax
> that your printf didn't like. Please excuse me, and run this instead:

> | $ printf "L1: won\xB4t \xA8reply\xA8\nU8: won\xC2\xB4t 
> \xC2\xA8reply\xC2\xA8\n"

Not near my server to produce pretty pictures, but on the:

- L1 line I get "won't" correctly followed by a quote mark.
- U8 line I get "won" followed by an "A with a caret on top" followed by
  an apostrophe and a "t". I then get "A with caret" quote mark "reply" "A
  with caret" quote mark.

[snip all good TERM stuff I need to follow up on]

Thanks again Alain. I have learnt something again and hope that this is
solved, or nearly solved.

-- 
Regards,

Roland

PGP Key 0xDA39319B = BCF0 1214 BAE9 5A3D 46FC 21A6 360D 9398 DA39 319B

Attachment: signature.asc
Description: Digital signature