I have a string with lots of utf-8 char. in it. I am trying to embed it into an image, they don't show up right.
here is my example:
exiftool -charset UTF8 -Title="La cvstodia d’oro : godvta nel vigilantissimo confalonierato dell’illvstrissimo signor senatore Francesco Ratta, e simboleggiata nel dilvisontvos.mo convito fatto all’ ill.mo publico and ecc.si sig.ri anziani il primo bimestre dell’anno 1693" 1.jpg
any idea how to get it right.
Your special characters are HTML character entities, not UTF-8. So drop the -charset UTF8 and add -E to handle the HTML escaping. See FAQ 10 (https://exiftool.org/faq.html#Q10) for more information.
- Phil
Yes, thanks , you are right.
Can I have both -charset utf8 and -E at the same time in an exiftool command?
the reason I am asking is that the same string may have some utf-8 char. too.
Thanks
Yes, but -charset UTF8 is the default, so specifying this does nothing.
- Phil
I double checked. after I added -E and ran again, Photoshop ignores those html characters (like d’), why?
I don't think that character U+0092 is the one you want. This is a control character according to this chart (http://www.utf8-chartable.de).