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

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
StatusFileSize
new980 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.