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

Re: howto get mutt to display "circled numbers"



On Thu, Jul 13, 2006 at 09:31:19PM +0200, Alain Bench wrote:
> Hi Henry!

Hi Alain!

>  On Wednesday, July 12, 2006 at 11:59:46 +0900, Henry Nelson wrote:
> > mail that contains "circled numbers". In mutt, these show up as "??"
> 
>     The mail is labelled charset=euc-jp, but contains bytes AD A1. This
> sequence is not defined in EUC-JP. It is defined in EUC-JISX0213 though,
> as U+2460 CIRCLED DIGIT ONE. So it's a liar label case, subject to
> correction by <edit-type> or charset-hook:
> 
> | charset-hook ^euc-jp$ euc-jisx0213

I tried three methods (^E and edit, hand edit charset-type before loading
into mutt, and charset-hook), but none of them worked!

1) ^E and hand edit:
Content-Type:  text/plain; charset=euc-jp      <<== Strange. It hasn't changed.

?? 構造検索の強化

2) Hand edit mail header before loading:
Content-Type:  text/plain; charset=euc-jisx0213

?? 構造検索の強化

3) Put "charset-hook ^euc-jp$ euc-jisx0213" in .muttrc
Content-Type:  text/plain; charset=euc-jp

?? 構造検索の強化

> (like losing ™ U+2122 trade mark sign). BTW in libiconv you need
> --enable-extra-encodings for EUC-JISX0213.

libiconv was configured with --enable-extra-encodings.  `iconv -l`
lists EUC-JISX0213.

Is utf-8 the only answer?

-- 
henry nelson
  WWW_HOME=http://yuba.ne.jp/~home/