[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug in grep -P --color [bug-grep]

From: Tim Waugh
Subject: Re: Bug in grep -P --color [bug-grep]
Date: Mon, 25 Apr 2005 11:25:42 +0100
User-agent: Mutt/

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: pgpF_K6xxl20u.pgp
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]