Hi,

> But there a problem for IMG_0870_exiftool_usercomment_unicode.JPG : the exif
> is in big endian format. And it this case it seems it is UTF-16BE that
> should be used.

Thanks a lot, this should be okay for your examples now.

> Also the .strip('\0') is finaly not correct : it is what eat the Traling
> zero for UTF-16LE. I attach a posible fix.

My fix assumes utf-16be. utf-16le seems also to be possible because of
specific applications, I'll see about it when the problem is brought
up.

Thanks,

Alex



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to