Subject Re: [firebird-python] Re: Firebird and Django’ s WordPress alternative : Mezzanine
Author Pavel Cisar
Hi,

This error comes from INSERTing of text BLOB field. It's converted from
Unicode and the connection charset is set to "NONE", so
locale.getpreferredencoding() is used (on most systems it's "ascii").

best regards
Pavel Cisar
IBPhoenix

Dne 18.12.2012 16:41, mariuz napsal(a):
>
> It worked well wih wordpress import now i have one issue with the blogspot one when i try to import the jimicompot.blogspot.com account
>
> UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 899: ordinal not in range(128)
>
> File "/usr/local/lib/python2.7/dist-packages/fdb/fbcore.py", line 2538, in __Tuple2XSQLDA
> value = value.encode(self.__python_charset)
> UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 899: ordinal not in range(128)