Re: unicode and frensh accents

Поиск
Список
Период
Сортировка
От Miroslav Šulc
Тема Re: unicode and frensh accents
Дата
Msg-id 422974E9.9010501@startnet.cz
обсуждение исходный текст
Ответ на Re: unicode and frensh accents  (Markus Bertheau <twanger@bluetwanger.de>)
Список pgsql-php
Maybe you could send us the code that retrieves the data from PostgreSQL.

I personally use 'pg_set_client_encoding($link, 'UNICODE');' before I
get data from server to be sure I get it in utf-8 encoding. Other thing
that might be a problem is that default Apache configuration file
contains 'AddDefaultCharset ISO-8859-1' instruction which sets default
charset in case the Apache cannot find one in the page. Disabling this
makes characters unmangled (it may and probably should by solved other
way but I didn't spend my time on figuring how).

Miroslav Šulc



Markus Bertheau wrote:

>У Чтв, 2005-03-03 у 16:51 +0100, Zouari Fourat пише:
>
>
>>ok i admit...
>>that last one is wrong, the page when saved displays well formed data...
>>
>>but what about header('... charset=UTF-8 statement ? it doesnt occur
>>in phppgadmin files ...
>>
>>
>
>Right, we don't set it. Usually Apache does if not told otherwise.
>
>What do you get from your own script? Best make a screenshot.
>
>Markus
>
>
>

Вложения

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

Предыдущее
От: Markus Bertheau
Дата:
Сообщение: Re: unicode and frensh accents
Следующее
От: "Stefan Hans"
Дата:
Сообщение: --with-pgsql=shared