Bug #592
exiv2: Exif.Photo.UserComment unicode comment doesn't work
0%
Description
From: matthieu castet <castet.matthieu@free.fr>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: exiv2: Exif.Photo.UserComment unicode comment doesn't work
Date: Wed, 18 Jun 2008 20:53:27 +0200
Package: exiv2
Version: 0.16-4
Severity: normal
Hi,
Exif.Photo.UserComment unicode are store a utf-16 (big or little endian
according to the exif endianness). [1]
But exiv2 don't do any processing and output utf-16 on terminal.
Worse when setting UserComment with unicode charset, it write invalid
tag with the charset of your terminal.
Matthieu
[1]
$wget
http://castet.matthieu.free.fr/tmp/test_exif/IMG_0870_exiftool_usercomment_unicode.JPG
$exiv2 IMG_0870_exiftool_usercomment_unicode.JPG | grep "Exif comment" | hexdump -C
00000000 45 78 69 66 20 63 6f 6d 6d 65 6e 74 20 20 20 20 |Exif comment |
00000010 3a 20 00 75 00 6e 00 69 00 63 00 6f 00 64 00 65 |: .u.n.i.c.o.d.e|
00000020 00 20 00 74 00 65 00 73 00 74 00 20 00 3a 00 20 |. .t.e.s.t. .:. |
00000030 00 e9 00 e0 00 ea 0a |.
Related issues