Skip site navigation (1) Skip section navigation (2)

Re: Issues with german 'Umlaute'

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Nicolaus Erichsen <nico(dot)erichsen(at)hsh-berlin(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: Issues with german 'Umlaute'
Date: 2002-10-23 14:04:24
Message-ID: 811.1035381864@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-bugs
Nicolaus Erichsen <nico(dot)erichsen(at)hsh-berlin(dot)com> writes:
> I recently found a problem with sorting german 'Umlaute' .

Sounds like you did not set the right locale when creating the database.
You need to be careful to run initdb with LANG (or LC_ALL or at least
LC_COLLATE) set to what you want, probably "de_DE".

> All this happens with a database  created with encoding ='latin1'.

Encoding is not the issue, locale is.

			regards, tom lane

In response to

Responses

pgsql-bugs by date

Next:From: Tom LaneDate: 2002-10-23 14:13:18
Subject: Re: 'pg_dump --create' forgets database encoding
Previous:From: Bruce MomjianDate: 2002-10-23 13:44:10
Subject: Re: now() gives the time of the last commit, not the time it

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group