Re: Oracle 8i + PHP4: character set

From: Date: Fri, 04 May 2001 17:38:37 +0000
Subject: Re: Oracle 8i + PHP4: character set
References: 1 2  Groups: php.db 
Request: Send a blank email to php-db+get-9130@lists.php.net to get a copy of this message
I've the same problem, however if I try to set NLS_LANG other than the default I receive a segmentation fault in the apache server (using Linux). ""Thies C. Arntzen"" <thies@thieso.net> wrote in message news:20010504160703.C31121@schnuffel.thieso.net... > On Fri, May 04, 2001 at 03:50:34PM +0200, Stefan Fokuhl wrote: > > Hello, > > > > I do have a little tiny problem with the character set. > > > > If I try to insert a word containing an german umlaut by a php-script, > > Oracle strips the seventh bit. I.e. "ä" becomes a "d". In PHP the SQL > > statement is written correctly. > > > > Facts: > > > > 1. I use Oracle 8i. The DB is made with the we8iso8859p1 option. > > 2. The NLS_LANG is set to GERMAN_GERMANY.WE8ISO8859P1 > > 3. SQLPLUS works fine. > > make sure to set NLS_LANG _before_ apache gets started (eg in > the /etc/init.d/httpd script). > > tc > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net > For additional commands, e-mail: php-db-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.db (#9130) next »