Photo Mechanic > Code Replacements
Apostrophe being replaced by a question mark
vipersnipe:
Hi everyone
When I have an apostrophe in a Code Replacement text file (eg Otago's Craig Millar), when I enter it into the IPTC Info the apostrophe is replaced by a question mark (Otago?s Craig Millar).
Does anyone know the reason (and solution)??
Cheers
ADAM
Kirk Baker:
Adam,
--- Quote from: vipersnipe on October 22, 2017, 06:49:53 PM ---When I have an apostrophe in a Code Replacement text file (eg Otago's Craig Millar), when I enter it into the IPTC Info the apostrophe is replaced by a question mark (Otago?s Craig Millar).
Does anyone know the reason (and solution)??
--- End quote ---
I suspect that your apostrophe is not quite the character you expect it to be and that it can only be represented in Unicode instead of ASCII. Please post your file here and I'll take a look at it. (If you don't want to post the entire file, copy the line out to a new file and post that file instead.)
Use the 'Attachments and other options' link when you're composing your reply to this message and there you'll be able to upload your text file.
Thanks,
-Kirk
vipersnipe:
Hi Kirk. Many thanks for your reply. From what you said, I've cracked it!
I was using the wrong text editor.
I was using the standard editor in iOS (TextEdit), but have just switched over to BBEdit which allows Unicode (UTF-8) encoding, and that's solved the problem.
I can now apostrophise to my heart's content!
Thanks again for your help .... much appreciated.
Cheers
ADAM
Kirk Baker:
Adam,
--- Quote from: vipersnipe on October 23, 2017, 01:43:31 PM ---Hi Kirk. Many thanks for your reply. From what you said, I've cracked it!
I was using the wrong text editor.
I was using the standard editor in iOS (TextEdit), but have just switched over to BBEdit which allows Unicode (UTF-8) encoding, and that's solved the problem.
I can now apostrophise to my heart's content!
Thanks again for your help .... much appreciated.
--- End quote ---
You're welcome. Based on your solution, I can tell you with a fair amount of certainty that the apostrophe character is not the standard apostrophe character. Other applications may still have problems with the 'apostrophe' that you used. If that isn't important to you, then disregard.
Otherwise, use this as your apostrophe character: '
(copy and paste it.)
HTH,
-Kirk
vipersnipe:
Thanks mate. All good :-)
Cheers
ADAM
Navigation
[0] Message Index
[#] Next page
Go to full version