From: Dani Oderbolz <oderbolz@ecologic.de>
To: pgsql-php@postgresql.org
Subject: Encoding issues
Date: Mon, 28 Apr 2003 13:14:37 +0200
Message-ID: <3EAD0D1D.7010403@ecologic.de> (raw)
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-php@postgresql.org
Cc: oderbolz@ecologic.de
Subject: Re: Encoding issues
In-Reply-To: <3EAD0D1D.7010403@ecologic.de>
References: <3EAD0D1D.7010403@ecologic.de>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox