german rigau <[EMAIL PROTECTED]> 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.


_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to