On 7/6/07, Chris Shenton <[EMAIL PROTECTED]> wrote:
>
> I had issues in the past with (for example) umlauted-chars being
> entered into my data that then couldn't be rendere by Myghty with the
> default ascii codec; changing python's sitecustomize.py to use:
>
> sys.setdefaultencoding("utf-8")
This is almost certainly the wrong way to accomplish your aims.
sys.setdefaultencoding is considered harmful unless you know exactly
what you're doing, and why you're using it.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---