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

w3mmee, iso-8859-1 coding is not recognized



Dear Bug Team!

When looking at  http://fr.sports.yahoo.com/ the page is encoded using shift_jis (it should be iso-8859-1)

In emacs the headers are :

=============================
Page Information

Title:          Bienvenue sur Yahoo! Sport
URL:            http://fr.sports.yahoo.com/
Document Type:  text/html
Last Modified:  

Header Information

W3M-Current-URL: http://fr.sports.yahoo.com/
W3M-Document-Charset: shift_jis
HTTP/1.1 200 OK
Date: Tue, 17 Jun 2003 09:09:06 GMT
P3p: policyref="http://p3p.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE GOV"
Cache-control: private
X-W3M-Connection: close
Content-type: text/html
=============================

Though when using the following  command line 

 w3mmee -o concurrent=0 -F -no-cookie -o follow_redirection=8 -header "User-Agent:Emacs-w3m/1.3.4rc5 w3m/0.3.2+mee-p25-cvs-282+moe-1.5.4" -dump=extra,head,source http://fr.sports.yahoo.com/

The headers are :
==========================================
W3M-Current-URL: http://fr.sports.yahoo.com/
W3M-Document-Charset: iso-8859-1
HTTP/1.1 200 OK
Date: Tue, 17 Jun 2003 09:17:53 GMT
P3p: policyref="http://p3p.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUB
i IND PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE GOV"
Cache-control: private
X-W3M-Connection: close
Content-type: text/html
===========================================================

================================================================

System Info to help track down your bug:
---------------------------------------
emacs-w3m-version
 => "1.3.4rc5"
emacs-version
 => "GNU Emacs 21.3.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)\n of 2003-03-27 on pcnt166.intranet.gr"
mule-version
 => "5.0 (SAKAKI)"
system-type
 => gnu/linux
w3m-version
 => "w3m/0.3.2+mee-p25-cvs-282+moe-1.5.4"
w3m-type
 => w3mmee
w3m-compile-options
 => ("lang=many" "kanji-symbols" "image" "color" "ansi-color" "mouse" "menu" "cookie" "ssl" "ssl-verify" "w3mmailer" "nntp" "gopher" "mark" "romaji")
w3m-language
 => nil
w3m-command-arguments
 => ("-o" "concurrent=0" "-F" "-no-cookie" "-o" "follow_redirection=0" "-header" "User-Agent:Emacs-w3m/1.3.4rc5 w3m/0.3.2+mee-p25-cvs-282+moe-1.5.4" "-header" "Referer: http://www.emacswiki.org/cgi-bin/emacs-fr.pl")
w3m-command-arguments-alist
 => nil
w3m-command-environment
 => (("W3MLANG" . "ja_JP.kterm"))
w3m-use-mule-ucs
 => nil