How to fix invalid multibyte character for locale error - Mailing list pgsql-general

From Andrus
Subject How to fix invalid multibyte character for locale error
Date
Msg-id datoug$173t$1@news.hub.org
Whole thread Raw
List pgsql-general
I created Postgres 8 database in Windows XP  using

CREATE DATABASE mydb ENCODING='UNICODE';

and upsized data to it.


The query

SELECT name FROM customer ORDER BY UPPER(name);

returns error

ERROR:  invalid multibyte character for locale
HINT:  The server's LC_CTYPE locale is probably incompatible with the
database encoding.

How I can get customer list in case-insensitive alphabetical order ?

The query

SELECT name FROM customer

runs OK




pgsql-general by date:

Previous
From: "Reid Thompson"
Date:
Subject: DB/clog corruption
Next
From: "André M. Winter - Carto.net"
Date:
Subject: array Q