--- In firebird-python@yahoogroups.com, Pavel Cisar <pcisar@...> wrote:
>
> 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").
connection charset is left as it is : NONE

locale.getpreferredencoding()
'UTF-8'


> 
> 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)
>

Reply via email to