... 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/
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
>Hi,
>
>I've got a text file containing "blés, Châteaux ..." (without quotes)
[...]
>But when i launch the script through the console (under
>windows 2000) ...characters are translated :blùs, Chôteaux ...
>
>what does it means .. .?
Windows uses ISO-Latin-1, aka ISO-8859-1. So it probably mean
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