Re: unicode and frensh accents

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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

begin:vcard
fn;quoted-printable:Miroslav =C5=A0ulc
n;quoted-printable:=C5=A0ulc;Miroslav
org:StartNet s.r.o.
adr;quoted-printable;quoted-printable:;;Vrchlick=C3=A9ho 161/5;Praha 5;;150 00;=C4=8Cesk=C3=A1 republika
email;internet:miroslav.sulc@xxxxxxxxxxx
title:CEO
tel;work:+420 257 225 602
tel;cell:+420 603 711 413
x-mozilla-html:TRUE
url:http://www.startnet.cz
version:2.1
end:vcard


[Index of Archives]     [Postgresql General]     [Postgresql Admin]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Yosemite Backpacking]     [Postgresql Jobs]

  Powered by Linux