[Web-SIG] WSGI configuration and character encoding.

James Y Knight foom at fuhm.net
Tue Nov 30 19:24:05 CET 2004


On Nov 30, 2004, at 1:03 PM, Alan Kennedy wrote:
> Failing that, if we want to use ConfigParser, I see three ways forward
>
> 1. Make the user specify the encoding of the config file *outside* the 
> config file itself.
> 2. Approach ein den deutsche-enkoding-bots on python-dev, e.g. MAL or 
> MvL, and ask their advice.
> 3. Spend days or weeks bending our brains about how to make 
> ConfigParser also do encodings, and about whether the proposed 
> approach works or not. And what about WSGI implementors? I shudder to 
> think what a poorly chosen solution could do to them.

4. Declare that the encoding is simply always UTF-8.

James



More information about the Web-SIG mailing list