Re: PHP/Oracle : bug with accent...
| From: | David BERCOT | Date: | Wed, 15 Mar 2006 19:35:26 +0000 |
| Subject: | Re: PHP/Oracle : bug with accent... | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-231969@lists.php.net to get a copy of this message | ||
> > I have a big problem with my Debian server (Apache 2, PHP 5, Oracle
> > Instant Client). I've modified the environment variable NLS_LANG and,
> > with SQL*Plus, everything is ok ! But, in a PHP page, I can't insert a
> > value with accent (ex: Irène). I can read data with accent, but not
> > inserting !!!
> > I searched all the afternoon, testing many solutions, without success. I
> > think I'm not alone with this problem but...
> >
> > Do you have any clue ? Something to look at ?
>
> Try looking at the multi-byte string functions. Not sure if that would
> help you or not though.
OK. I've finally found the solution. Everything was ok except the Apache
environment variables (NLS_LANG). Now, it works...
Thank you.
David.
Attachment: [application/pgp-signature] Ceci est une partie de message numériquement signée signature.asc
Attachment: [application/pgp-signature] Ceci est une partie de message numériquement signée signature.asc