5 ms·
HTML is ISO 8859-1 by default, which privileges that legacy encoding within conformant browsers and web servers. That's the reason for all the "character entity
by SiVal 11y ago
HTML is ISO 8859-1 by default, which privileges that legacy encoding within conformant browsers and web servers. That's the reason for all the "character entity" stuff.
The same is not true of Java.
- justincormack 11y agoNo longer true, HTML5 is UTF8 by default.
- gsnedders 11y agoHTML is a locale specific encoding by default. (No, really.) Most locales default to windows-1252, not ISO-8859-1. That said, all conforming HTML documents must now use UTF-8.