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                              |.é.à.ê.|
00000037
-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.25-2-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ISO-8859-1) (ignored: LC_ALL set to fr_FR)
Shell: /bin/sh linked to /bin/dash

Versions of packages exiv2 depends on:
ii  libc6                         2.7-12     GNU C Library: Shared libraries
ii  libexiv2-2                    0.16-4     EXIF/IPTC metadata manipulation li
ii  libgcc1                       1:4.3.1-2  GCC support library
ii  libstdc++6                    4.3.1-2    The GNU Standard C++ Library v3

exiv2 recommends no packages.

-- no debconf information



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

Reply via email to