Subject: Re: Bug in grep -P --color

On Sat, Apr 23, 2005 at 12:45:00AM +0200, Claudio Fontana wrote:

> > 2) In your patch, you strstr for utf8 or UTF8. In
> > my Fedora
> > system, $LANG is en_US.UTF-8.
> I'll add UTF-8 and utf-8 then.

Why do you need to use strstr? Isn't nl_langinfo what you want to
use? It will also give 'UTF-8' for that encoding, AIUI.


Attachment: pgpiZUe3gKAw6.pgp
Description: PGP signature