Re: 'order by' does "wrong" with unicode-chars (german umlauts) - Mailing list pgsql-general

From Tom Lane
Subject Re: 'order by' does "wrong" with unicode-chars (german umlauts)
Date
Msg-id 24588.1064073944@sss.pgh.pa.us
Whole thread Raw
In response to Re: 'order by' does "wrong" with unicode-chars (german umlauts)  (peter pilsl <pilsl@goldfisch.at>)
Responses Re: 'order by' does "wrong" with unicode-chars (german umlauts)  (peter pilsl <pilsl@goldfisch.at>)
List pgsql-general
peter pilsl <pilsl@goldfisch.at> writes:
> I get my text from a web-form, process it via perl and store it in postgreSQL
> via DBI-Interface. The unicode-text appears as multibyte in perl and I got the
> suspect that postgresql simply takes this multibyte-text and doesnt even
> reckognize that it could be unicode.

If you have set the database encoding as SQL_ASCII, then that's exactly
what it will (and should) do.  You need to make the database encoding
be unicode.

            regards, tom lane

pgsql-general by date:

Previous
From: "Marc G. Fournier"
Date:
Subject: Re: State of Beta 2
Next
From: "Joshua D. Drake"
Date:
Subject: Re: State of Beta 2