Re: [PATCH/RFC] Gitweb: Convert UTF-8 encoded file names
- From
Junio C Hamano <gitster@pobox.com>
- Date
- May 15, 2014, 17:24 UTC
- Message-ID
- <xmqq38gbgdkk.fsf@gitster.dls.corp.google.com>
- In-Reply-To
- <alpine.DEB.2.00.1405150957520.10221@ds9.cixit.se>
Peter Krefting <peter@softwolves.pp.se> writes:
Show 5 quoted lines
> What is happening is that whatever is generating the URI us > UTF-8-encoding the string twice (i.e., it generates a string with the > proper C3 BC in it, and then interprets it as iso-8859-1 data and runs > that through a UTF-8 encoder again, yielding the C3 83 C2 BC sequence > you see above).
Thanks for a quick response. If the input was unnecessarily encoded one extra time, it is no wonder it needed one unnecessary extra decoding.