can you post a code snippet that proves the failure
On Tue, May 25, 2010 at 03:12:39AM -0400, Raymond Mancy wrote:
Actually the problem is slightly different from what I originally thought.
I think what's actually happening is that a couple of places in the code it tries to create a str object from a unicode object. This works fine unless the unicode object has non ascii characters.
I think all we need to do is remove these attempts to create a str object from a unicode object as it's not needed from what I can tell. So far i've only found one place where it tries to do this.
Raymond
----- "Kevin Baker" kbaker@redhat.com wrote:
From: "Kevin Baker" kbaker@redhat.com To: "Raymond Mancy" rmancy@redhat.com Cc: "Bill Peck" bpeck@redhat.com Sent: Monday, May 24, 2010 11:38:49 PM GMT +10:00 Brisbane Subject: Re: UTF-8 changes branch
Ray,
can you have this discussion on the dev list please.
and who is e@redhat.com?
On Mon, May 24, 2010 at 09:36:10AM -0400, Raymond Mancy wrote:
http://git.fedorahosted.org/git/?p=beaker.git;a=commit;h=0076b616ada26d81c71...
In model.py and controllers/py I kind of started to turn the strings
into Unicode objects but then stopped.
I was thinking we could override the __str__() function to do
something like unicode(x).encode('utf-8').
-- Kevin Baker Manager Engineering Operations, Westford +1 978 392 2442
Beaker-devel mailing list Beaker-devel@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/beaker-devel