From: Jakub Narębski Date: Thu, 15 May 2014 20:45:22 GMT Subject: Re: [PATCH/RFC] Gitweb: Convert UTF-8 encoded file names Message-ID: In-Reply-To: On Thu, May 15, 2014 at 9:38 PM, Junio C Hamano wrote: > Jakub Narębski 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