[PHP-WIN] Bad char Translation

2002-02-22 Thread -HONU-
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

Re: [PHP-WIN] Bad char Translation

2002-02-22 Thread -HONU-
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 > > $FileNam

Re: [PHP-WIN] Bad char Translation

2002-02-22 Thread -HONU-
... mm something else... when i try Print("Blés"); the output in the console is Blùs And the problem is not only there ... if i send "Blés" to an SQL server database it becomes "Blùs" ! -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/

[PHP-WIN] Bad char Output...

2002-02-26 Thread -HONU-
I'm working in an Dos Box under Win2k. When i try to print é, è, ù ...characters ... The output is Hùbù... Someone can help ... ? -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php