Re: Character encoding hell
| From: | Marc Guay | Date: | Tue, 26 Oct 2010 16:38:35 +0000 |
| Subject: | Re: Character encoding hell | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-309087@lists.php.net to get a copy of this message | ||
> Are you using UTF-8?
Could you be more specific? Do you mean in the browser/php header or
in the filesystem? I created the file on a Windows machine,
transferred them to a Linux machine, and the encoding of the page is
UTF-8.
I just noticed a strange thing which might shed some light. If I just
run htmlentities() on the href, it shows this in the browser URL:
LE CHÂT.pdf
But the browser returns a "not found" error:
LE%20CH%C3%82T.pdf
It seems like the  character is being misunderstood as "Â"