Re: Error: "Conversion between UNICODE..." - Mailing list pgsql-general

From Tom Lane
Subject Re: Error: "Conversion between UNICODE..."
Date
Msg-id 26237.994200946@sss.pgh.pa.us
Whole thread Raw
In response to Error: "Conversion between UNICODE..."  ("Neil Conway" <neilconway@home.com>)
List pgsql-general
"Neil Conway" <neilconway@home.com> writes:
> I'm getting hundreds of errors in my Postgres (7.0.2) logs like this:
>     ERROR:  Conversion between UNICODE and SQL_ASCII is not supported
> Postgres is compiled without multi-byte support and the encoding on the
> database is SQL_ASCII. AFAIK, there is no need to store UNICODE (but I
> might be wrong -- if that's the problem, tell me).

> Since the database is accessed by hundreds of different clients
> (interfacing using JDBC, PHP4, Perl, and perhaps others), I'm having
> difficulty tracking down where these errors are coming from and why
> they're occuring.

Sounds to me like some of your clients *are* compiled with multibyte
support, and are asking for conversion to Unicode.  I'm not an expert
on the multibyte stuff though...

            regards, tom lane

pgsql-general by date:

Previous
From: Scott Holmes
Date:
Subject: lo wrappers
Next
From: Tom Lane
Date:
Subject: Re: plpgsql and COPY