The hidden input element with the name utf8 enforces browsers to properly respect your form’s character encoding and is generated for all forms whether their action is “GET” or “POST”.
BFG repo-cleaner is a really nice tool I used before putting up some old code on Github. It can go through all the commits and rewrite them so they don’t include specified strings anymore.
That URL is cheeky -
?utf8=✓&...By including a character that can not be expressed in latin-1 charset, old browsers are forced to use UTF-8 encoding for form submits.
This is the standard Rails feature to set the encoding of a form:
It was originally a snowman: ☃︎ (Unicode 9731) but that whimsy was replaced.
and if you really miss it, https://rubygems.org/gems/bring_back_snowman
My personal fave:
https://github.com/Hillary2016/EmailServer/commit/c82605148b41ca923aa74445ee56d18923eb2ae0
BFG repo-cleaner is a really nice tool I used before putting up some old code on Github. It can go through all the commits and rewrite them so they don’t include specified strings anymore.