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

Re: Can't enter Chinese URLs



>>>>> In [emacs-w3m : No.10073] jidanni@xxxxxxxxxxx wrote:

> I type G (G runs the command w3m-goto-url-new-session) and type
> URL or Keyword (default HOME): http://www.google.com.tw/search?q=台北客運
> but this gets converted to
> URL or Keyword (default HOME): http://www.google.com.tw/search?q=%3F%3F%3F%3F%3F%3F%3F%3F

Try setting the `w3m-default-coding-system' variable to the symbol
of a certain coding system, e.g., utf-8, big5, euc-tw, etc.

In the Japanese language environment, the value is `shift_jis'
by default and the page is displayed as expected, but Google.tw
offers Japanese for the contents in:

http://www.google.com.tw/search?q=%91%E4%96%6B%8B%71%89%5E

In the Chinese-BIG5 language environment, `utf-8' is effective
and the url turns into:

http://www.google.com.tw/search?q=%E5%8F%B0%E5%8C%97%E5%AE%A2%E9%81%8B

Those results will probably also vary according to the country
a user lives in.

Regards,