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

Re: punycode vs. No such anchor



日本語だけ。。。

From: Katsumi Yamaoka <yamaoka@xxxxxxx> さん曰く
Subject: [emacs-w3m:11722] Re: punycode vs. No such anchor
Message-ID: <b4mk44wcw0s.fsf@xxxxxxx>
Date: Fri, 13 Jan 2012 08:59:31 +0900

> In [emacs-w3m : No.11721] Aota-san wrote:
>> jidanni@xxxxxxxxxxx writes:
> 
>>> When browsing
>>> http://www.taipower.com.tw/cgi-bin/powerlimitread.pl?kind=d105a
>>> one clicks
>>> http://www.taipower.com.tw/cgi-bin/powerlimitread.pl?kind=d105a#01月16日
>>> Only to get "No such anchor: 0xn--116-v08f53c"
>>>
>>> Obviously punycode confusion...
>>>
>>> OK, their anchors don't work in Firefox... but at least no punycode messages.
> 
>> I don't get the point.. You mean you want to get
>> "No such anchor: 01月16日" instead?
> 
> I get the same behavior with Jidanni.  "0xn--116-v08f53c" is the
> encoded version of "01月16日" that `w3m-url-transfer-encode-string'
> generates.  This is not the essence of the problem, though.
> 
> The real cause is that the page in question provides a name
> anchor as <a name="#01月16日">, not <a name="01月16日">.  If
> there are many of such an illegally encoded html in the world,
> we can add a workaround to emacs-w3m.  But I don't think it's
> worth doing in the CVS repository.

昨日、気になって試してたら、なんと MS-IE は # ついていても飛べちゃ
いました!Firefox, Google chrome, opera は当然 NG。

なお、対応しない、というのは同じ意見です。

-- 
白井秀行 (mailto:shirai@xxxxxxxxxxx)