Why is "LANG=en_US.UTF-8" the default in Fedora

Alan Cox alan at redhat.com
Thu May 20 21:14:59 UTC 2004


On Thu, May 20, 2004 at 09:09:38AM -0400, Eric Wood wrote:
> > Why is the default US.UTF-8?
> 
> Any time I use sed or grep on my script I make sure to set LANG=c first.
> US.UTF-8 slows grep searches *way* down.  It was so slow that I thought I
> had hardware problems - nope, just unicode slowing down my scripts.

Unicode isn't slowing your scripts down. Implementation issues might be
and Tim Waugh has been working on improving utf-8 grep performance





More information about the test mailing list