python - Determining HTTP request charset -


is there way reliably determine in character set browser sends data? i'm jumping around accept-charset/accept-language headers in conjunction server locale (as web-sites not that world-wide), still nothing comes in mind.

specifically, msie sends data in locale's charset if user types in address bar custom values (that's why started count in accept-language header).

second question is, can determine charset both , post or there chance data in different encodings?


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -