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
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
... 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/
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