Facebook charset detection mechanism?
Posted
by Void
on Stack Overflow
See other posts from Stack Overflow
or by Void
Published on 2010-01-06T12:11:02Z
Indexed on
2010/06/18
4:33 UTC
Read the original article
Hit count: 310
Today, I have looked into HTML code of facebook.com, and found something like this:
<input type="hidden" value="€,´,€,´,?,?,?" name="charset_test"/>
It's repeated two times inside the <form>...</form>
.
Any idea what this code might be useful for - some kind of server-side client charset detection? As far as I know, browser charset is being transmitted in HTTP request anyway (an "Accept-Charset" header).
© Stack Overflow or respective owner