On Fri, Jun 14, 2002 at 10:34:14AM +0100, Richard Curnow wrote:
> I've been following the UTF-8 discussion.  For me, I can't even get
> iso-8869-1 characters in the 128-255 range to display correctly.

you don't mention what your locale is set to (e.g., $LC_ALL and related
environment variables).  That's independent of slang/ncurses.  mutt is
supplying the ?'s.

To display UTF-8 with ncurses, you need the wide-character version libncursesw.
ISO-8859-1 works either way.

> 
> The content-type line in the message looks like:
> 
> Content-Type: text/plain; charset=iso-8859-1
> 
> and if I 'more' or 'cat' the message to the terminal (I'm using
> maildir), the accented characters show up fine, so the terminal is
> basically up to the job and has a font with the characters in it.
> 
> However, inside mutt's pager I get varying forms of junk depending on
> the setting of charset, e.g.
> 
> charset=us-ascii gives
> ????e?
> 
> charset=iso-8859-1 gives
> \344\341\337\351e\350
> 
> charset=utf-8 gives
> \303\244\303\241\303\237\303\251e\303\250
> (OK, not much of a surprise)
> 
> The output of 'cat' correctly shows the 6 characters:
> a-umlaut
> a-acute
> scharfes-S
> e-acute
> plain e
> e-grave
> 
> This is mutt 1.4i, I have the problem with either xterm or rxvt, and
> with both slang and ncurses builds of mutt.
> 
> Where's my problem?
> 
> Cheers
> Richard
> 
> -- 
> Richard \\\ SuperH Core+Debug Architect /// .. At home ..
>   P.    /// [EMAIL PROTECTED]  ///  [EMAIL PROTECTED]
> Curnow  \\\ http://www.superh.com/    ///  www.rc0.org.uk
> Speaking for myself, not on behalf of SuperH

-- 
Thomas E. Dickey <[EMAIL PROTECTED]>
http://invisible-island.net
ftp://invisible-island.net

Reply via email to