Bad table iso-8859-1

From: Date: Tue, 09 Jul 2002 09:41:51 +0000
Subject: Bad table iso-8859-1
Groups: php.general 
Request: Send a blank email to php-general+get-106281@lists.php.net to get a copy of this message
Hello everyone, I have a problem with charset iso-8859-1. My configuration is : Apache 1.3.26 on MacOS X with PHP 4.2.1 when I execute this script : <? print ord("é"); ?> I have result 142 which is the code of the macinstosh table and when i send it to my browser or in a email, this doesn't work. I must have the windows table where this caracter has the code 233. I've added in Apache a "AddDefaultCharset iso-8859-1". I also made a ini_set("default_charset","iso-8859-1") But it doesn't change anything. It seems to change the 'local values' but not the 'master values' I canno't change the value in php.ini because on MacOS X, there wans't a file php.ini So I've made a personal function to change code on fly but it isn't speed. Any suggestions ?? best regards. Philippe BARRIELLE Sce Informatique ---------------------------------------------------------------------------------------------------
                           *  S.A. Editions et Publicites - ABRITEL *
109, La Canebière - B.P 2033 - 13201 Marseille cedex 01 - France
Tél  : 33 (0)4 91 11 00 72           Wap : http://wap.abritel.fr
Email: pbarrielle@abritel.fr         Web : http://www.abritel.fr
---------------------------------------------------------------------------------------------------
       LOCATIONS VACANCES - FRANCE - SPAIN - DOM - PORTUGAL
---------------------------------------------------------------------------------------------------

« previous php.general (#106281) next »