[Date Prev][Date Next][Thread Prev][][Date Index][Thread Index]

Re: coding system config



Hi,

>>>>> In [emacs-w3m : No.05902] 
>>>>>	Jose A.Ortega Ruiz <jao@member.fsf.org> wrote:

> hmmm... if i do that, i get:

> ~ $ w3mmee -dump=extra http://proquest.safaribooksonline.com/0130935387
> Received cookie: AlteonP=3f2f247752f19ba6
> Received cookie: Site=UICode=&Portal=proquest&GUID=6C20A8D8%2D8AE6%2D4173%2D9D%2DEF%2DB3%2D6B%2D9C%2D51%2D43%2D7D
> Received cookie: JV=Key=&SavePwd=
> W3M-Current-URL: http://proquest.safaribooksonline.com/?XmlId=0-13-093538-7
> W3M-Document-Charset: iso-8859-1
> ~ $                  ^^^^^^^^^^^^

"W3M-Document-Charset" must depend on LANG environment.

| % env LANG=ja_JP.eucJP w3mmee -dump=extra http://proquest.safaribooksonline.com/0130935387 | grep W3M-Document-Charset
| W3M-Document-Charset: shift_jis
| % env LANG=C w3mmee -dump=extra http://proquest.safaribooksonline.com/0130935387 | grep W3M-Document-Charset
| W3M-Document-Charset: iso-8859-1

> > (setq w3m-dump-head-source-command-arguments
> >       '("-dump=extra,head,source" "-o" "mylang=iso"))
> i still see a kanji in the above page. as a matter of fact, if i look

Ummm, w3m-command-environment maybe influence auto-detection.
Please try following setting.
(setq w3m-command-environment nil)

Regards,
ARISAWA Akihiro