Re: UTF-8 display (was: Re: a mug)

From: Marcel Schneider <charupdate_at_orange.fr>
Date: Wed, 22 Jul 2015 08:38:42 +0200 (CEST)

On 21 Jul 2015, at 16;00, Tom Gewecke wrote:

> The IBM page seems to have an ellipsis character in UTF-8, with bytes E2 80 A6. The web server is set to force all browsers to use the encoding iso-8859-1 regardless of what charset is stipulated in the html code. The browser uses the Win 1252 equivalents and displays …
>
> To see what a web server is forcing, if anything, you can use
>
> http://web-sniffer.net/

Thank you. So the file i get when saving the page is a modified one. The workaround is then, if I understand well, to let web-sniffer check whether the server is forcing an unconsistent encoding:
| Content-Type: text/html;charset=ISO-8859-1
Then save the page...
| meta http-equiv="Content-Type" content="text/html; charset=windows-1252"
...and reset the charset to the value shown in the source code:
| meta http-equiv="Content-Type" content="text/html; charset=utf-8"
Then open this.
That's very useful!

Have a great day,

Marcel
Received on Wed Jul 22 2015 - 01:40:18 CDT

This archive was generated by hypermail 2.2.0 : Wed Jul 22 2015 - 01:40:19 CDT