![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have tried starting postgres with LC_ALL=de_AT.utf8@euro locale but that did not help. |
#3
| |||
| |||
|
|
Klaus Ita <postgres (AT) stro (DOT) at> writes: I have tried starting postgres with LC_ALL=de_AT.utf8@euro locale but that did not help. |
#4
| |||
| |||
|
|
On Thu, Sep 01, 2005 at 09:30:15AM -0400, Tom Lane wrote: Klaus Ita <postgres (AT) stro (DOT) at> writes: I have tried starting postgres with LC_ALL=de_AT.utf8@euro locale but that did not help. i did read the docs and am still not quite happy with my sorting results. ok initdb has been rerun made sure, i had the locale: locale -a created new db-cluster with LC_ALL=de_AT.utf8@euro initdb --locale=de_AT.utf8@euro -E UNICODE -D /dev/shm/pgutf8 and then still the sorting was not right when i restored another UNICODE db. |
|
another "funny" thing is: ita@aipc54:~/.mutt$ LC_ALL=de_AT.utf8@euro sort /tmp/testfile Abend Oma Ãterreich Ãerflieger Unter Zetrix this is also wrong (There should be 'Unter' and then 'U:berflieger' [Überflieger]). so is this a libc bug? |
#5
| |||
| |||
|
|
Content-Type: text/plain; charset=unknown-8bit |
|
Klaus Ita schrob: another "funny" thing is: ita@aipc54:~/.mutt$ LC_ALL=de_AT.utf8@euro sort /tmp/testfile Abend Oma Ãterreich Ãerflieger Unter Zetrix this is also wrong (There should be 'Unter' and then 'U:berflieger' [Überflieger]). so is this a libc bug? |
#6
| |||
| |||
|
|
Klaus Ita schrob: this is also wrong (There should be 'Unter' and then 'U:berflieger' [Überflieger]). so is this a libc bug? I think I got your point now. Libc appears to be using iso-14651 sorting for all "de" locales. I'm afraid you will have compile a customized locale to depart from that. |
![]() |
| Thread Tools | |
| Display Modes | |
| |