Skip Menu |

This queue is for tickets about the Image-ExifTool CPAN distribution.

Report information
The Basics
Id: 17081
Status: rejected
Worked: 10 min
Priority: 0/
Queue: Image-ExifTool

People
Owner: EXIFTOOL [...] cpan.org
Requestors: sitephoto [...] cepatre.net
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 5.87
Fixed in: (no value)



Subject: exiftool -L to convert from UTF-8 to latin1
I'm working on Linux FC4 with LANG=fr_FR.UTF-8 perl v5.8.6 ExifTool version 5.89 I've set characters with accents in caption and object name. I've tried to use -L option to convert coding from UTF-8 to latin1 but it failed (same result than without the -L option) The command i used : exiftool -L -TagsFromFile ../../full_size/Paris/%f.%e -all:all -ThumbnailImage= -ext JPG .
This is not the function of the -L option. The -L option changes the conversion only for 16-bit Unicode character strings (such as used by the Windows XP tags, XPTitle, XPComment, etc). It determines whether Unicode characters are converted to the UTF-8 or Latin1 character set. There is no conversion done for 8-bit character types such as the IPTC tags you mention. On Sun Jan 15 14:56:47 2006, guest wrote: Show quoted text
> I'm working on Linux FC4 with LANG=fr_FR.UTF-8 > perl v5.8.6 > ExifTool version 5.89 > > I've set characters with accents in caption and object name. > > I've tried to use -L option to convert coding from UTF-8 to latin1 but > it failed (same result than without the -L option) > > The command i used : > exiftool -L -TagsFromFile ../../full_size/Paris/%f.%e -all:all > -ThumbnailImage= -ext JPG .
From: EXIFTOOL [...] cpan.org
As of ExifTool 6.73 (now available from the ExifTool home page), character translation is applied to all common meta information formats, including IPTC and XMP. So the -L option should now do what you expected, provided you have the IPTC:CodedCharacterSet tag set properly.