ExifTool Forum

ExifTool => ExifTool GUI => Topic started by: ScannerBoy on October 03, 2013, 03:06:16 PM

Title: Single quotes (Apostrophe) converted to ' by ExifToolGUI
Post by: ScannerBoy on October 03, 2013, 03:06:16 PM
After just really discovering JPEG metadata, I have run into a curious problem.
When entering comments, descriptions and keywords using ExifToolGUI which include a single quote, the text strings produced show that the single quote I used are almost all converted to '
The EXIF ImageDescription string is reproduced as expected without conversion, but all other places the string is written by ExifToolGUI the quote is converted.

Some other utilities which handle the JPEGs show these characters as they appear in the string without converting them back to a single quote.

Who is correct? ExifToolGUI (and by implication possibly ExifTool) or the other applications (Irfanview, XnView, BreezeBrowser PRO)??

Any comments will be much appreciated as I am very much a newb - but very curious :-)
TIA
Arnold
Title: Re: Single quotes (Apostrophe) converted to ' by ExifToolGUI
Post by: Phil Harvey on October 03, 2013, 07:58:16 PM
Hi Arnold,

ExifTool will convert a single quote to ' in XMP values, but this should be transparent to the user unless you look at the raw XMP because all readers should convert this back to a single quote before returning the value.

This conversion is not done for EXIF or IPTC, so if this happens to you for these information formats it could be something to do with an interaction in the GUI.

- Phil
Title: Re: Single quotes (Apostrophe) converted to ' by ExifToolGUI
Post by: ScannerBoy on October 03, 2013, 10:52:56 PM
Thank you, Phil.

I had expected as much.
While I entered the values using ExifToolGUI (ETG), I only entered single quotes.
As I mentioned, ETG, converted all single quotes to ', except the string placed into EXIF -
and as you say, that is as it should be.

So it is the other utilities which are failing in reconverting this back to the single quote where
necessary for editing etc.

As a result I have a bunch of 'proofs' with that funny character as part of the caption text  :'(
but at least I am now confident I know where the problem lies  :)