Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

ru_RU.UTF-8 locale sorting bug on solaris 10 x86

807559Oct 13 2006 — edited Oct 13 2006
I have two machines solaris 10 and 10/06 x86 with all patches. Both have the same issue.

Try to list filenames with russian letters in to locales ru_RU.UTF-8 and en_US.UTF-8.

(try use first 3 russian letters in correct order - ?, ?, ?)

In en_US.UTF-8 sorting works as expected. I have - ?, ?, ?
In ru_RU.UTF-8 sorting does not work. I have - ?, ?, ?

Example:

$ cd /tmp
$ touch ?
$ touch ?
$ touch ?

$ export LC_ALL=en_US.UTF-8
$ locale

LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_ALL=en_US.UTF-8

$ ls -lh

... ?
... ?
... ?

$ export LC_ALL=ru_RU.UTF-8
$ locale

LANG=en_US.UTF-8
LC_CTYPE="ru_RU.UTF-8"
LC_NUMERIC="ru_RU.UTF-8"
LC_TIME="ru_RU.UTF-8"
LC_COLLATE="ru_RU.UTF-8"
LC_MONETARY="ru_RU.UTF-8"
LC_MESSAGES="ru_RU.UTF-8"
LC_ALL=ru_RU.UTF-8

$ ls -lh

... ?
... ?
... ?

Roman.

ps: for what reason this forum does not support international characters :-(

Rom@n

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Nov 10 2006
Added on Oct 13 2006
0 comments
203 views