Thread: Postgresql 7.4 on cygwin, upper() does not work with german special characters (umlaut)

Postgresql 7.4 on cygwin, upper() does not work with german special characters (umlaut)

From
sebastian grunow
Date:
Hi all,

we are running postgresql 7.4 under cygwin (the package delivered with
cygwin)
under german Windows XP Professional SP1 an we experience the following
problem:

- first off all we are not able to enter german special characters such
as ÄÖÜ in
  the cygwin shell, but we are able to enter them in an editor (eg. vi).
That should not
  be too bad...
- when we perform a "select upper('ÄäÖöÜüAaOoUu');" we get the following
result:

     upper
---------------
 ÄäÖöÜüßAAOOUU
(1 row)

The special characters are not converted to capital letters! If we run
the same query against postgresql 7.4 on a linux-platform the special
characters are correctly returned in capital letters.
Any suggestions or solutions are welcome!

Kind regards
Sebastian


Sebastian,

On Mon, Dec 08, 2003 at 08:31:35AM +0100, sebastian grunow wrote:
> The special characters are not converted to capital letters! If we run
> the same query against postgresql 7.4 on a linux-platform the special
> characters are correctly returned in capital letters.  Any suggestions
> or solutions are welcome!

If the above is locale related, then the following from the README is
applicable:

    3. Cygwin PostgreSQL only supports the "C" locale because Cygwin
    itself does not fully support locales.

Jason

--
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6