On Fri, Mar 06, 2009 at 03:17:55PM -0800, Philip Jenvey wrote:
> This should work:
> 
> config['pylons.request_options']['charset'] = None
> 
> Maybe you don't have this line at the end of the environment.py? It  
> should come after config.init_app
> 
> You can check request.charset later for what this is actually set to.  
> Only the value of None should disable unicode (US-ASCII won't).

Yea, something is definitely incorrect with disabling Unicode
handling.  I've setup a matching Apache/FCGI deployment with
"config['pylons.request_options']['charset'] = None".  If I raise an
Exception and "print request.charset" in the debug interface, I get
'utf-8'.

I can confirm with LiveHTTPHeaders that my browser is not providing a
Content-Type header that would be overriding the default character
set.

The tickets section of pylonshq.com seems to be throwing 404s - else
I'd see about throwing this in there.

Thanks,
Ross
-- 
Ross Vandegrift
[email protected]

"If the fight gets hot, the songs get hotter.  If the going gets tough,
the songs get tougher."
        --Woody Guthrie

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to