ExifTool Forum

ExifTool => The "exiftool" Application => Topic started by: battit64 on September 14, 2014, 03:27:01 PM

Title: Probleme with headline IPTC
Post by: battit64 on September 14, 2014, 03:27:01 PM
hello

my commands in windows is
-overwrite_original -iptc:By-line='ATELIERPP' -iptc:CopyrightNotice='' -iptc:Province-State='64' -iptc:Country-PrimaryLocationName='FRANCE' -iptc:Source='PYP' -iptc:Credit='PYP' -iptc:DateCreated='11:12:2014' -iptc:City='PAU' -iptc:Headline='Sortie Cinémas' -iptc:Keywords='50.jpg' c:\50.jpg

i have a problems with spac in the headline Sortie Cinémas

i have juste in iptc
Unable to extract some or all of the Exif data.
IPTC

    By-line = 'ATELIER'
    Copyright Notice = ''
    Record Version = 4
    City = 'PAU'
    Province/State = '64'
    Headline = 'Sortie
    Credit = 'PYP'
    Source = 'PYP'
    Country/Primary Location Name = 'FRANCE'
    Date Created = 2014/09/10
    Keywords = '50.jpg'

if i make Sortie_Cinémas it's ok. why the space doesn't interpreted?
Title: Re: Probleme with headline IPTC
Post by: Phil Harvey on September 14, 2014, 03:49:57 PM
In Windows you must use double quotes ("), not single quotes (') around the arguments.

Also, I would recommend setting -codedcharacterset=UTF8 if you are writing special characters to IPTC.  See FAQ 10 (https://exiftool.org/faq.html#Q10) for details.

- Phil
Title: Re: Probleme with headline IPTC
Post by: battit64 on September 16, 2014, 03:33:29 PM
it 's ok i put this option

-iptc:all -codedcharacterset=utf8 -charset iptc=latin {path_tmp}\{NOM_FICHIER}_{I}.jpg