Re: Encoding issues - Mailing list pgsql-php

From Markus Bertheau
Subject Re: Encoding issues
Date
Msg-id 1051689089.2476.1.camel@saphir
Whole thread Raw
In response to Encoding issues  (Dani Oderbolz <oderbolz@ecologic.de>)
Responses Re: Encoding issues
List pgsql-php
В Пнд, 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.


pgsql-php by date:

Previous
From: "scott.marlowe"
Date:
Subject: Re: New New :(( - Trying to figure out a couple things - Please
Next
From: Hans-Juergen Schoenig
Date:
Subject: Re: Encoding issues