Is the use of “utf8=✓” preferable to “utf8=true”?
Is the use of “utf8=✓” preferable to “utf8=true”?
By default, older versions of IE (<=8) will submit form data in Latin-1 encoding if possible. By including a character that can't be expressed in Latin-1, IE is forced to use UTF-8 encoding for its form submissions, which simplifies various backend processes, for example database persistence. If the parameter was instead utf8=true then this wouldn't trigger the UTF-8 encoding in these browsers.
沒有留言:
張貼留言