Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Stop (unnecessarily) enforcing UTF8 for set_locale form
Doing so provides us with no advantages, and has the side effect of triggering [this bug](rack/rack#673) in Rack when said form is submitted in browsers that do not support UTF-8 Note that that enforcement is intended as a protection against users submitting Latin-1 values when we expect unicode; since this form supports no user-provided values and doesn't persist any data, that's not an issue we need to worry about. Note also that the only browsers for which this error is likely to be generated are browsers that we do not officially support, so an argument could be made for simply ignoring this error. But, I figure, I already got the fix right here.
- Loading branch information