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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: 'order by' does "wrong" with unicode-chars (german umlauts)
Дата
Msg-id 24588.1064073944@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: 'order by' does "wrong" with unicode-chars (german umlauts)  (peter pilsl <pilsl@goldfisch.at>)
Ответы Re: 'order by' does "wrong" with unicode-chars (german umlauts)  (peter pilsl <pilsl@goldfisch.at>)
Список 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 по дате отправления:

Предыдущее
От: "Marc G. Fournier"
Дата:
Сообщение: Re: State of Beta 2
Следующее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: State of Beta 2