News for hackers. Stuff that matters.
Re:Is the use of “utf8=✓” preferable to “utf8=true”? by Millennium on Thursday October 18, 2012 @12:22PM (#4669475)
Whether or not you use this hack, you can't naively trust the client to always send valid UTF-8; you're right about this. But because of this bug in IE, rejecting posts with invalid UTF-8 as malicious will net you some false-positive cases, where the user isn't malicious but the browser is being stupid. This hack takes care of the stupidity, leading to a better user experience for people who would otherwise have tripped the false-positive.

There are no comments on this comment yet.