RE: [PHP-WIN] Bad char Translation
| From: | HKG) | Date: | Fri, 22 Feb 2002 14:49:17 +0000 |
| Subject: | RE: [PHP-WIN] Bad char Translation | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-12223@lists.php.net to get a copy of this message | ||
>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 means that the text
is written in another code page than ISO-Latin-1. You need either 1)
translate the page to ISO-Latin-1 or 2) tell in the webpage to use another
code page for the char set.