On 8/30/13 05:08, Nicholas Nethercote wrote:
On Fri, Aug 30, 2013 at 8:03 PM, Henri Sivonen <hsivo...@hsivonen.fi> wrote:
I think we should encourage Web authors to use UTF-8 *and* to *declare* it.
I'm no expert on this stuff, but Henri's point sure sound sensible to me.
It seems to me that there's an important balance here between (a)
letting developers discover their configuration error and (b) allowing
users to render misconfigured content without specialized knowledge.
Both of these are valid concerns, and I'm afraid that we're not
assigning enough weight to the user perspective.
I think we can find some middle ground here, where we help developers
discover their misconfiguration, while also handing users the tool they
need to fix it. Maybe an unobtrusive bar (similar to the password save
bar) that says something like: "This page's character encoding appears
to be mislabeled, which might cause certain characters to display
incorrectly. Would you like to reload this page as Unicode? [Yes] [No]
[More Information] [x]".
--
Adam Roach
Principal Platform Engineer
a...@mozilla.com
+1 650 903 0800 x863
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform