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: [EMAIL PROTECTED] Web : http://www.abritel.fr --------------------------------------------------------------------------------------------------- LOCATIONS VACANCES - FRANCE - SPAIN - DOM - PORTUGAL --------------------------------------------------------------------------------------------------- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php