bug-coreutils
[Top][All Lists]
Advanced

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

Re: join bug?


From: Paul Eggert
Subject: Re: join bug?
Date: Sun, 05 Feb 2006 23:38:23 -0800
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux)

german rigau <address@hidden> writes:

> Obviously, the problem is in the sort command. With C locale
> runs perfectly. However, I use LANG=en_US.UTF-8 ...
> And then it seems that the "sort" command have different behaviour ...

I don't see any bug in the examples that you gave.

Getting back to the original question, "join" must use the same
collating convention that "sort" does.  If you "sort" in the
en_US.UTF-8 locale, you must "join" in the same locale.  Otherwise, as
you discovered, things won't work in general.

Also, my advice is to stick with the C locale unless you know what
you're doing.  For example, if you're not sure what you want to do in
the case of encoding error (or, if you don't know what an encoding
error is :-), then you should stick with the C locale.




reply via email to

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