Jose Soares schrieb:
> Hi al,
> 
> I have the utf8 error again, I don't know how to solve this error...
> 
> File "/home/sfera/release/sicer/controllers/filtro_attivita.py", line 
> 45, in lst_tipologia_struttura
>     ret = [ (rec.codice, rec.descrizione) for rec in sq.execute() ]
>   File "build/bdist.linux-i686/egg/sqlalchemy/engine/base.py", line 756, 
> in __getattr__
>   File "build/bdist.linux-i686/egg/sqlalchemy/engine/base.py", line 647, 
> in _get_col
>   File "/usr/lib/python2.4/types.py", line 185, in convert_result_value
> 
>   File "encodings/utf_8.py", line 16, in decode
> UnicodeDecodeError: 'utf8' codec can't decode bytes in position 20-22: 
> invalid data

Show us the data, and we can tell you what is wrong. But essentially you 
don't have utf-8 encoded data in your DB.

Diez

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to