Hi Jorge,

I'm getting the same error, and the link you posted isn't working for me. 

The error message is: UnicodeDecodeError: 'ascii' codec can't decode byte 
0xc2 in position 0: ordinal not in range(128)

and the line it's referring to is: BaseValueText=u'You receive \n %s' 
%FullAmount

Any help would be great!

Thanks

On Tuesday, May 6, 2008 at 5:26:04 AM UTC+1, [email protected] wrote:
>
> On Mon, May 5, 2008 at 3:56 PM, fernando <[email protected] 
> <javascript:>> wrote:
> >
> >  Hello,
> >
> >  I'm using TG2 with a database postgres, making out forms using crud.
> >
> >  But when insert or modify get the following error:
> >
> >  UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position
> >  47: ordinal not in range(128)
> >
> >  How i solve this problem.
> >
> you are trying to add a non ASCII character to a python string object,
> chances are you have something like s = "niño" where you want s =
> u"niño" please refer to this link on how to handle unicode in python.
> http://www.reportlab.com/i18n/python_unicode_tutorial.html
>
> >  Thanks
> >  >
> >
>

-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/turbogears.
For more options, visit https://groups.google.com/d/optout.

Reply via email to