Re: Charset problem / PHP

From: Jens Müller <usenet-11-2007_at_tessarakt.de>
Date: Wed, 09 Apr 2008 15:32:09 +0200
Message-ID: <663uqkF2htp5sU1@mid.individual.net>


Jens Müller schrieb:

> Álvaro G. Vicario schrieb:

>> "Jens Müller" <usenet-11-2007_at_tessarakt.de> escribió en el mensaje
>> news:663o57F2iirkdU1_at_mid.individual.net...
>>> Oracle SQL developer correctly shows the text, but when I access the
>>> DB with a PHP script, "emil-gött-straße" becomes "emil-gott-stra?e".
>>> Is there a possibility to fix this with a function call or similiar
>>> in the PHP script, without changing the webserver or database setup?
>>
>> You have two pure PHP options:
>>
>> 1. Convert from DB charset to script charset. Have a look at iconv().
>
> Any hint how to find out the DB charset first?

Hmm, ok ...

I set the corresponding parameter for OCIconnect, and it works just fine .. Received on Wed Apr 09 2008 - 08:32:09 CDT

Original text of this message