Encoding issues

From: Dani Oderbolz <oderbolz(at)ecologic(dot)de>
To: pgsql-php(at)postgresql(dot)org
Subject: Encoding issues
Date: 2003-04-28 11:14:37
Message-ID: 3EAD0D1D.7010403@ecologic.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-php by date

  From Date Subject
Next Message Andreas Schmitz 2003-04-28 11:29:07 reisemuell
Previous Message Majid Khan 2003-04-28 07:06:07 problem with md5