A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2008-April/078841.html below:

[Python-Dev] Encoding detection in the standard library?

[Python-Dev] Encoding detection in the standard library? [Python-Dev] Encoding detection in the standard library?Bill Janssen janssen at parc.com
Tue Apr 22 23:42:28 CEST 2008
> > When a web browser POSTs data, there is no standard way of communicating
> > which encoding it's using.
> 
> That's just not true. Web browser should and do use the encoding of the
> web page that originally contained the form.

Since the site that receives the POST doesn't necessarily have access
to the Web page that originally contained the form, that's not really
helpful.  However, POSTs can use the MIME type "multipart/form-data"
for non-Latin-1 content, and should.  That contains facilities for
indicating the encoding and other things as well.

Bill
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4