Re: [CentOS] Re: Problem of sort utf8 file.

2008-09-09 Thread Peter Cai
that ubuntu use glibc 2.7 while centos5 use glibc 2.5. That maybe the problem. But updating glibc is too hard for me. Maybe I have to give up. On Tue, Sep 9, 2008 at 3:05 PM, Tom G. Christensen [EMAIL PROTECTED] wrote: Peter Cai wrote: PS: the background of this problem is that Postgresql's

[CentOS] Problem of sort utf8 file.

2008-09-08 Thread Peter Cai
Hi all, I have 2 linux distro —— ubuntu and centos. My problem is that the sort command has different behavior when sorting Chinese string encoded in utf8 file. On Ubuntu, it is OK. But on CentOS, it WRONG. I google this problem and it seems that's because of LC_COLLATE. So I change

[CentOS] Fwd: Problem of sort utf8 file.

2008-09-08 Thread Peter Cai
localedef -f UTF-8 -i zh_CN zh_CN.UTF-8 Nothing happened. -- Forwarded message -- From: Peter Cai [EMAIL PROTECTED] Date: Tue, Sep 9, 2008 at 9:42 AM Subject: Problem of sort utf8 file. To: centos@centos.org Hi all, I have 2 linux distro —— ubuntu and centos. My problem