wiss wrote:
Hi!, My name is Martin Wiss and I live in Sweden.
I am currently working on an open source multilingual dictionary. Or maybe it is better to call it just an open dictionary or database. The words are kept in an postgresql database.
When I do queries on the database from a webpage I get the results in
the ordering that is specified from the current collating of the system where postgresql is running.
But I would like to have different collation depending on what language I am querying.
That sounds reasonable, doesn't it?!
...
Do the locale definitions look the same for every operating system?
Where can I find all locales that are available? (I am using debian if it matters)
PostgreSQL seems to use the LC_COLLATE element from glibc locales. You can find these at:
<http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/localedata/locales/?cvsroot=glibc>
- Chris
-- Linux-UTF8: i18n of Linux on all levels Archive: http://mail.nl.linux.org/linux-utf8/
