RE: [Moderator Action] Odd thing I noticed

Maybe the page does not include any letters with accents. For Latin text without accents, ISO-8859-1 and UTF-8 give the same encoding.

בברכה,  מתתיהו
Shalom (Regards),  Mati

-----Original Message-----
From: Martin J. Dürst [mailto:duerst@it.aoyama.ac.jp] 
Sent: Tuesday, March 12, 2019 12:43 PM
To: Frank da Cruz; www-international@w3.org
Subject: Re: [Moderator Action] Odd thing I noticed

Hello Frank,

On 2019/03/11 19:22, Frank da Cruz wrote:
> I have tons of pages encoded in ISO-8859-1.  I know they all
> should be converted to UTF-8 but I'm putting it off because
> I do all my editing in EMACS and it's not 100% with UTF-8 yet.

If EMACS isn't 100% okay with UTF-8, then which editor would be?

> By accident I changed a Spanish-language HTML5 web page to say:
> 
> <meta charset=utf-8>
> 
> without changing the encoding of the page.  I was surprised
> to see that the page still displays correctly in both Firefox
> and Chrome, and when I check the page properties, both say UTF-8,
> which tells me that the Web server isn't overriding the page's
> internal declaration.
> 
> No validator that I have tried tells me there is anything
> wrong with the page.
> 
> Do you know why the web browsers are showing this page in proper
> Spanish when the encoding is not the declared charset?

I have no idea. Is this page public? Or do you have some other page that 
is public and behaves the same? Can you give us a pointer?

Regards,   Martin.

> Thanks,
> 
> Frank da Cruz

Received on Tuesday, 12 March 2019 11:12:42 UTC