Hi,
There is no way to deal with unicode filenames in 1.xx other that
read the whole profile in memory. Sorry.
That is addressed in lcms 2.0 with cmsOpenProfileFromStream()
Regards
Marti.
Quoting Olivier BERTEN :
> While having the same problem again I just realised I never replied...
>
> Le
ERTEN [mailto:olivier.ber...@gmail.com]
*Sent:* Monday, 14 September 2009 6:45 AM
*To:* lcms-user@lists.sourceforge.net
*Subject:* Re: [Lcms-user] cmsOpenProfileFromFile and unicode
While having the same problem again I just realised I never replied...
Let's try this in python:
test1 = cms0penProfi
: [Lcms-user] cmsOpenProfileFromFile and unicode
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 p
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?
O
When I give an unicode string as argument to cmsOpenProfileFromFile, i
get this message
TypeError: in method 'cmsOpenProfileFromFile', argument 1 of type 'char
const *'
That's pretty annoying since that's how my filesystem is encoded...
I'm using the python bindings version 1.17 (debian pa