Re: [PHP] PHP/Oracle : bug with accent...

2006-03-15 Thread Burhan

David BERCOT wrote:

Hi,

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.


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] PHP/Oracle : bug with accent...

2006-03-15 Thread David BERCOT
  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.


signature.asc
Description: Ceci est une partie de message	numériquement signée


[PHP] PHP/Oracle : bug with accent...

2006-03-14 Thread David BERCOT
Hi,

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 ?

Thank you very much.

David.


signature.asc
Description: Ceci est une partie de message	numériquement signée