While having the same problem again I just realised I never replied...
Let's try this in python:
test1 = cms0penProfileFromFile('cmyk.icm','r')
test2 = cms0penProfileFromFile(u'cmyk.icm','r')
I get no problem with the first one, but the second one returns that
type error... any workaround?
Olivier
Kai-Uwe Behrmann a écrit :
Am 02.10.08, 10:33 +0200 schrieb Olivier BERTEN:
When I give an unicode string as argument to cmsOpenProfileFromFile, i get
this message
TypeError: in method 'cmsOpenProfileFromFile', argument 1 of type 'char const
*'
The data type should not have much to do with the encoding. Is it a 16-bit
type you pass to the call?
That's pretty annoying since that's how my filesystem is encoded...
I'm using the python bindings version 1.17 (debian package) on Ubuntu 8.10
Olivier
Kai-Uwe
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Lcms-user mailing list
Lcms-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lcms-user