[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: punycode vs. No such anchor
- From: Hideyuki SHIRAI (白井秀行) <shirai@xxxxxxxxxxx>
- Date: Fri, 13 Jan 2012 14:31:57 +0900 (JST)
- X-ml-name: emacs-w3m
- X-mail-count: 11730
- References: <877h0xd40z.fsf@xxxxxxxxxxx> <87boq96sop.fsf@xxxxxxxxx> <b4mk44wcw0s.fsf@xxxxxxx>
Dear Jidanni san
From: Katsumi Yamaoka <yamaoka@xxxxxxx> said
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.
I've just fixed to display "No such anchor: 01月16日" in CVS
HEAD.
TNX.
--
Hideyuki SHIRAI (mailto:shirai@xxxxxxxxxxx)