The source file is ISO-8859-1.. and the result is not displayed on a webpage but in a console ... This is where the problem come .... when i display the result in the console
> 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 .. .? -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php