I've tried doing it this way, but I still run into problems. I have
data from Amazon that actually has characters that WON'T render in
ASCII. Normally everything works fine taking an approach like Ben says,
but then once you get to a page with a character that ASCII doesn't
support, it chokes and dies. The problem is that Python's default
encoding is ASCII, and Myghty uses Python functions that use the
default encoding. (str, ''.join, etc.) Just setting the flag won't do
anything (they talk about this in the gmane thread.)

So, is there some more specific way to set the response to utf-8 that
will override all this, or were you just dealing with "nice" data Ben?
I've been banging my head on this wall for a while and it seems pretty
hopeless...


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to