Kore Nordmann - PHP / Projects / Politics ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :Author: Kore Nordmann :Date: Wed, 11 Feb 2009 12:18:45 +0100 :Revision: 1 :Copyright: CC by-sa ======================================= Does accept_charset help in HTML forms? ======================================= :Description: 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? 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__. __ http://www.w3.org/TR/html401/interact/forms.html#adef-accept-charset __ http://kore-nordmann.de/blog/php_charset_encoding_FAQ.html#does-accept-charset-help-in-html-forms __ http://kore-nordmann.de/blog/php_charset_encoding_FAQ.html#does-accept-charset-help-in-html-forms Trackbacks ========== - Charset vs. Encoding on Sun, 24 May 2009 12:55:43 +0200 in Kore Nordmann - PHP / Projects / Politics One of the most common errors when dealing with strings is to confuse charset with encoding - and I do understand that very well. So how could that happen? Comments ======== - Maarten at Wed, 11 Feb 2009 16:07:38 +0100 So,nice to know, but what if the page is set to utf-8, can you then be certain content entered is always utf-8, and same for other encodings? I seem to recall some browsers sending whatever their own setting is. There is also ofcourse the other browsers that are outside of your testing set. - Maarten at Wed, 11 Feb 2009 16:09:25 +0100 sorry, found this in your FAQ now... "Which charset does $client send?" - Gucci pas cher femme at Tue, 29 Nov 2011 07:13:55 +0100 jour surpasser son idole et de gagner son Championnat WWE quatrième femme en moins de trois years.Yet, le recul, qui est vraiment surpris