actionview/lib/action_view/helpers/form_tag_helper.rb
# Creates the hidden UTF8 enforcer tag. Override this method in a helper
# to customize the tag.
Creates the hidden UTF8 enforcer tag. Override this method in a helper
to customize the tag.
Creates the hidden UTF8 enforcer tag . Override this method in a helper to customize the tag .
def utf8_enforcer_tag
        '<input name="utf8" type="hidden" value="&#x2713;" autocomplete="off" />'.html_safe
      end
def utf8_enforcer_tag '<input name="utf8" type="hidden" value="&#x2713;" autocomplete="off" />' . html_safe end
Creates the hidden UTF8 enforcer tag.
Creates the hidden UTF8 enforcer tag .
# Use raw HTML to ensure the value is written as an HTML entity; it # needs to be the right character regardless of which encoding the # browser infers.