durusmail: quixote-users: Htmltext and latin-1 characters
Htmltext and latin-1 characters
2006-05-10
Mike Orr
Re: [Cheetahtemplate-discuss] Htmltext and latin-1 characters
2006-05-10
Ian Bicking
Re: [Cheetahtemplate-discuss] Htmltext and latin-1 characters
2006-05-11
David Binger
Re: [Cheetahtemplate-discuss] Htmltext and latin-1 characters
2006-05-10
Mike Orr
2006-05-11
David Binger
2006-05-11
Mike Orr
2006-05-11
David Binger
2006-05-11
David Binger
2006-05-11
David Binger
2006-05-13
Akihiro KAYAMA
2006-05-13
Mike Orr
2006-05-15
Akihiro KAYAMA
Re: Htmltext and latin-1 characters
2006-06-04
ak (2 parts)
2006-06-06
Akihiro KAYAMA
2006-06-07
Mike Orr
2006-06-08
Mike Orr
Re: Htmltext and latin-1 characters
2006-06-05
Akihiro KAYAMA
2006-06-05
Mike Orr
2006-06-05
Mike Orr
Htmltext and latin-1 characters
Akihiro KAYAMA
Hi.

In article <6e9196d20605101415v4a435a41r7a3e226a27b5314d@mail.gmail.com>,
"Mike Orr"  writes:

sluggoster> I tried sys.setdefaultencoding("latin1") but that has to be done in
sluggoster> the 'site' module; it's not available within a program.

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.

-- kayama
reply