A RetroSearch Logo

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

Search Query:

Showing content from http://mail.python.org/pipermail/python-list/2001-April/111973.html below:

CGI Unicode issue?

CGI Unicode issue? CGI Unicode issue?Michael Ströder michael at stroeder.com
Mon Apr 2 02:26:16 EDT 2001
Tim Roberts wrote:
> 
> After a fair amount of web digging, I've learned that these codes are
> base64-encoded Unicode-16 characters.
> [..]
> However, I don't understand why I see these.  There is nothing in the CGI
> environment variables that indicates I should be expecting any kind of
> unusual encoding.

You should tell the web client which charset you're expecting by
setting accept-charset attribute in the <form> tag.

Example:

<form [..other attributes..] accept-charset="utf-8">

Ciao, Michael.

More information about the Python-list 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