Does accept_charset help in HTML forms?

First published at Wednesday, 11 February 2009

Warning: This blog post is more then 15 years old – read and use with care.

Does accept_charset help in HTML forms?

The accept-charset attribute allows you to specify the encoding the server should receive the HTML form contents in. Does that help maintaining a consistent encoding in your web application?

Short answer: No.

I already covered that topic in my last talk about charsets and encodings on the last International PHP Conference and now documented it in my charset encoding FAQ. Find the longer answer to this question there.

Subscribe to updates

There are multiple ways to stay updated with new posts on my blog: