Bad char Translation

From: Date: Fri, 22 Feb 2002 12:47:29 +0000
Subject: Bad char Translation
Groups: php.general 
Request: Send a blank email to php-general+get-85846@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 .. .? Thanks for your help ...

« previous php.general (#85846) next »