[redland-dev] UCS-4 unicode support in python bindings

Jasper Op de Coul opdecoul at ubib.eur.nl
Tue Oct 5 10:05:30 CEST 2010


Hi,

I'm wondering if it is possible to use the redland python bindings when
python is compiled with the --enable-unicode=ucs4 flag. This is the 
default on new Ubuntu servers.

When using a ucs4 python the `Redland_python.unicode_to_bytes` method 
most of the time fails. The error that is raised is masked by a SytemError

 >>> for i in range(100): print RDF.Node(u'foo')
...
 > Traceback (most recent call last):
 >  File "<stdin>", line 1, in <module>
 > SystemError: error return without exception set

thanks,

Jasper Op de Coul


-- 
Jasper Op de Coul -- Erasmus University Rotterdam
t +31 10 4082871  -- http://eur.nl/ub
Burgemeester Oudlaan 50 3062 PA Rotterdam -- The Netherlands

	


--------------------------------Disclaimer--------------------------------
De informatie  verzonden in dit e-mail bericht  inclusief de bijlage(n) is
vertrouwelijk  en is  uitsluitend  bestemd  voor de geadresseerde  van dit
bericht. Lees verder: http://www.eur.nl/email-disclaimer

The information in this e-mail message  is confidential and may be legally
privileged. Read more: http://www.eur.nl/english/email-disclaimer
--------------------------------------------------------------------------


More information about the redland-dev mailing list