Operating System - HP-UX
1833283 Members
3251 Online
110051 Solutions
New Discussion

Re: Use of accented characters whith Apache + PHP on HPUX 11i

 
SOLVED
Go to solution
R.Rousseau
Occasional Contributor

Use of accented characters whith Apache + PHP on HPUX 11i

I have installed on HP-UX 11.11
apache 1.3.27
php 4.3.2 with OCI8

On this server a PHP application is running.
When a user try to use accented french characters in a form on internet explorer
they are not transmitted correctly to the database.
For example ?? (e acute) is transmitted as i.
The problem looks like when connected to a unix shell and the terminal characteristic set to stty istrip, the characters are stripped to 7 bits.

Could you tell me what configuration parameter (unix, apache or php) I must modify to correct
this problem.

Thanks in advance for your response.
2 REPLIES 2
Steven E. Protter
Exalted Contributor

Re: Use of accented characters whith Apache + PHP on HPUX 11i

This might not be an apache issue.

You should make sure the client browser has the frecnh character sets installed.

You should also check the core os cd for HP-UX and make sure the frech character set is installed on the server.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
benoit Bruckert
Honored Contributor
Solution

Re: Use of accented characters whith Apache + PHP on HPUX 11i

Salut,
I think that the trouble is on the database side.
OCI8 means ORACLE, then does your database is WE8ISO8859P1 configured (I.E. CHARACTER SET "WE8ISO8859P1" in the create database) ?
You should also defined environnement variable for the user running APache :
ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data
NLS_LANG=FRENCH_FRANCE.WE8ISO8859P1

by this way you can store datas with accentued characters...

write in this thread if this doesn't solve..

regards
Benoit
_______________
(??crit dans le livre d'or de plusieurs restaurants parisiens) Je m'ai bien r??galer. signe: Marguerite Duras Pierre Desproges.
Une application mal pansée aboutit à une usine à gaze (GHG)