--- In firebird-python@yahoogroups.com, "mariuz" <mariuz@...> wrote:
>
> 
> 
> --- 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'
even if i force it in the config 
 "OPTIONS" : {'charset':'UTF-8'}

i get the same exception
and print self.__python_charset is 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