Re: Htmltext and latin-1 characters

Neil Schemenauer <[email protected]>
Newsgroups gmane.comp.web.quixote.user
Message-ID <[email protected]>
Akihiro KAYAMA <[email protected]> wrote:
> I'm also using Quixote-2 for my Japanese(UTF-8) application.  Here is
> a kludge I'm using to set default encoding without modifying global
> site module:
>
>    import sys
>    reload(sys)
>    sys.setdefaultencoding("utf-8")
>
> It can't be appropriate, but it works perfectly for getting rid of
> annoying 'ascii' codec error.

No, it's not appropriate.

  Neil
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.