Re: [PATCH/RFC] Gitweb: Convert UTF-8 encoded file names
- From
Jakub Narębski <jnareb@gmail.com>
- Date
- May 15, 2014, 20:45 UTC
- Message-ID
- <CANQwDwffdbqD96OadyECFs=6WY_t+_0b63L5yAZVQ8aXrMvHHA@mail.gmail.com>
- In-Reply-To
- <xmqqmweiessl.fsf@gitster.dls.corp.google.com>
On Thu, May 15, 2014 at 9:38 PM, Junio C Hamano <gitster@pobox.com> wrote:
Show 9 quoted lines
> Jakub Narębski <jnareb@gmail.com> writes: > >> Writing test for this would not be easy, and require some HTML >> parser (WWW::Mechanize, Web::Scraper, HTML::Query, pQuery, >> ... or low level HTML::TreeBuilder, or other low level parser). > > Hmph. Is it more than just looking for a specific run of %xx we > would expect to see in the output of the tree view for a repository > in which there is one tree with non-ASCII name?
There is if we want to check (in non-fragile way) that said specific run is in 'href' *attribute* of 'a' element (link target).
-- Jakub Narebski