Let's make it explicit to browsers that we expect UTF-8, and nothing else. This prevents guessing by the browser or relying on the document charset (which should be UTF-8 anyway).

CommentFileSizeAuthor
#3 accept_utf8_5.patch980 bytesHeine
accept_utf8.patch954 bytesHeine
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Gábor Hojtsy’s picture

Status: Needs review » Fixed

I tried to look up support charts for this attribute but could not find up to date information. Anyway, this should help those browsers, which support this, so committed.

Heine’s picture

Version: 6.x-dev » 5.x-dev
Status: Fixed » Reviewed & tested by the community

Thanks. Needs to be backported.

Heine’s picture

Status: Reviewed & tested by the community » Needs review
FileSize
980 bytes

Patch against 5, fixes minor code style issue in the line as well.

drumm’s picture

Status: Needs review » Fixed

Committed to 5.x.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.