Image-ExifTool - Re: UTF-8 -> Latin1 conversion, L option

Posted on Tue May 8 21:22:28 2007 by linuxuser in response to 5090 (See the whole thread of 5)
Re: UTF-8 -> Latin1 conversion, L option
Phil, I would like to do it the other way round, not
exiftool a.jpg -tagsfromfile a.jpg -iptc:all -codedcharacterset=UTF8

I want to create valid latin1-tags _from_ existing utf8-tags. How should the command be to to copy all the tags of an image with uft8-metatags to a new image with latin1-tags? How can I throw away the characters which are not Latin1? I use the bash, so maybe I could use a sed command in a pipe "between". I think the only fields which could contain "real" UTF-8-chacters like Greek characters would be the keyword-field and maybe the description field, so I could exclude this first and then add it after a modification. What is the escape-sequence to define Latin1 in codedcharacterset? I mean something like ESC .. Thanks a lot
Direct Responses: 5093 | Write a response