News for hackers. Stuff that matters.
Re:JEP254: proposal to represent Java Strings as ISO-8859-1 by Skinney on Friday May 15, 2015 @07:39AM (#9549957)
Firefox did this recently, with great success. It's a simple solution that will reduce memory usage (and this, garbage collection). It makes perfect sense.
Re:JEP254: proposal to represent Java Strings as ISO-8859-1 by SiVal on Friday May 15, 2015 @07:55AM (#9550009)
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.

Re:JEP254: proposal to represent Java Strings as ISO-8859-1 by justincormack on Friday May 15, 2015 @09:41AM (#9550450)
No longer true, HTML5 is UTF8 by default.
Re:JEP254: proposal to represent Java Strings as ISO-8859-1 by gsnedders on Friday May 15, 2015 @12:00PM (#9551444)
HTML 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.