Re: [PATCH] gitweb: use decode_utf8 directly
- From
Jakub Narebski <jnareb@gmail.com>
- Date
- Jun 2, 2007, 08:22 UTC
- Message-ID
- <200706021022.31812.jnareb@gmail.com>
- In-Reply-To
- <87zm3ju6tg.fsf@wine.dyndns.org>
On Fri, 1 Jun 2007, Alexandre Julliard wrote:
Show 7 quoted lines
> The cause is apparently that decode_utf8() returns undef for invalid
> sequences instead of substituting a replacement char like
> decode("utf8") does.
>
> That may be considered an Encode bug since we are running a fairly old
> version (1.99, coming with Debian 3.1), but I'd rather not upgrade
> perl on the server. Could the patch be reverted, or done differently?Could you put modern (without this decode_utf8 bug) version of Encode.pm in the directory with gitweb.cgi, so gitweb uses new local version and not the one that is installed system-wide?
-- Jakub Narebski Poland