Encoding issues

Поиск
Список
Период
Сортировка
От Dani Oderbolz
Тема Encoding issues
Дата
Msg-id 3EAD0D1D.7010403@ecologic.de
обсуждение исходный текст
Ответы Re: Encoding issues  (Markus Bertheau <twanger@bluetwanger.de>)
Список pgsql-php
Hi all,

I have got a problem with the encoding of special caracters.
My DB uses the Encoding 'LATIN1'.
I modify data like this in psql:

SET CLIENT_ENCODING = 'LATIN1';
update auftraggeber set name_de='Europäische Union';

When I access this in PHP (using this Query:
SET CLIENT_ENCODING = 'LATIN1';
select name_de from projekte.sel_auftraggeber;

I get this:

Europäische Union

Hhhm.

Is there something I miss here?
Is there a way to specify a "standard" encoding in PHP,
so that I don't have to set the encoding?

Thanks for your help,
cheers, Dani


В списке pgsql-php по дате отправления:

Предыдущее
От: Majid Khan
Дата:
Сообщение: problem with md5
Следующее
От: Andreas Schmitz
Дата:
Сообщение: reisemuell