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

Emacs-W3m bug



Hi.
I'm use Emacs-W3m (1.5) in Emacs (23.0.60.2).
Blow is my function about search in Google Blog.

(defun w3m-search-google-blog (what)
  "Use Google blog search for WHAT."
  (interactive "sGoogle Blog: ")
  (w3m-goto-url-new-session (concat
"http://blogsearch.google.cn/blogsearch?hl=zh-CN&ie=UTF-8&q=";
				    (w3m-url-encode-string what 'utf-8))))

If I use "w3m-search-google-blog" search "°ÂÔË»á",
so the coding of first page of Google search result is right(ie=UTF-8),
but the coding of second page of Google search result is wrong
(automatic change to ie=GB2312).

So can you give me a patch about this?
Thank you very much! ^_^