I havent looked into it, but a band-aid would be something like this
$s = strtr($s,"fF","rR");
This will repalce chr's one for one, the first chr in string2 will replace
all occurances of the first chr of string1
in the exmaple above, all f will become r and all F will become R
just an idea
--
Mike Bradley
http://www.gzentools.com -- free online php tools
"Nicolas Nguyen" <pe*******@wanadoo.fr> wrote in message
news:c2**********@news-reader3.wanadoo.fr...
Hey, i got a small problem in PHP.
When i try to get some data from a file (fopen), it replaces special chars
by weird chars.
Example :
Français instead of Français.
thème instead of thême...
Anyone got an idea about how to correct this ?
THanks !!