Bad char Translation
| From: | -HONU- | Date: | Fri, 22 Feb 2002 13:55:37 +0000 |
| Subject: | Bad char Translation | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-4840@lists.php.net to get a copy of this message | ||
Hi,
I've got a text file containing "blés, Châteaux ..." (without quotes)
I'm reading this file like this
$FileName = "Test.txt";
$FileHand = fopen($FileName, "rb");
$Data = fread($FileHand, filesize($FileName));
fclose($FileHand);
print_r($Data);
Under Linux, by asking the script throught an HTTP server ... i've got the
good text
blés, Châteaux ...
But when i launch the script through the console (under windows 2000) ...
characters are translated :
blùs, Chôteaux ...
what does it means .. .?