Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][tlug] Re: Weird sorting of japanese filenames
- Date: Tue, 1 May 2007 14:23:18 +0200
- From: Tobias Diedrich <ranma@example.com>
- Subject: [tlug] Re: Weird sorting of japanese filenames
- References: <20070501100104.GA20069@melchior.yamamaya.is-a-geek.org> <87fy6ghhcd.fsf@uwakimon.sk.tsukuba.ac.jp>
- User-agent: Mutt/1.5.13 (2006-08-11)
Stephen J. Turnbull wrote: > Tobias Diedrich writes: > > > I was wondering if someone here could explain to me why ls and sort > > consider 'くじびきアンバランス' and 'ネギま!?' to be same 'same' > > as far as sorting order is concerned? > > They more or less seem to be ignoring the Japanese. It's not > guaranteed, but you would expect that hiragana, katakana, and kanji > would each be sorted into separate blocks. Nor is it related to > 50-on-jun. > > Try "LANG=ja_JP ls" and see if you get a saner result. Indeed "LC_COLLATE=ja_JP.UTF-8 ls" does help. I wonder why I didn't think of trying that myself... I just expected that with utf-8 sorting decisions would only marginally differ between locales... Thanks, -- Tobias PGP: http://9ac7e0bc.uguu.de このメールは十割再利用されたビットで作られています。
- Follow-Ups:
- [tlug] Re: Weird sorting of japanese filenames
- From: Stephen J. Turnbull
- References:
- [tlug] Weird sorting of japanese filenames
- From: Tobias Diedrich
- [tlug] Weird sorting of japanese filenames
- From: Stephen J. Turnbull
Home | Main Index | Thread Index
- Prev by Date: [tlug] Weird sorting of japanese filenames
- Next by Date: Re: [tlug] installing Ubuntu on Panasonic CF-R4
- Previous by thread: [tlug] Weird sorting of japanese filenames
- Next by thread: [tlug] Re: Weird sorting of japanese filenames
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links