pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Markus Bertheau <twanger@bluetwanger.de>
To: Dani Oderbolz <oderbolz@ecologic.de>
Cc: pgsql-php@postgresql.org
Subject: Re: Encoding issues
Date: 30 Apr 2003 09:51:30 +0200
Message-ID: <1051689089.2476.1.camel@saphir> (raw)
In-Reply-To: <3EAD0D1D.7010403@ecologic.de>
References: <3EAD0D1D.7010403@ecologic.de>

В Пнд, 28.04.2003, в 13:14, Dani Oderbolz пишет:
> 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';

Where specificially does the string "Europäische Union" come from? Is it
input in a web form?

> 
> 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

This looks like UTF-8.

-- 
Markus Bertheau.
Berlin, Berlin.
Germany.




view thread (3+ messages)  latest in thread

Message-ID: <1051689089.2476.1.camel@saphir>
Permalink:  ../1051689089.2476.1.camel@saphir/
Also on:    postgresql.org/message-id/1051689089.2476.1.camel@saphir

 · 

reply

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: twanger@bluetwanger.de, oderbolz@ecologic.de
  Subject: Re: Encoding issues
  In-Reply-To: <1051689089.2476.1.camel@saphir>
  References: <3EAD0D1D.7010403@ecologic.de> <1051689089.2476.1.camel@saphir>

* 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