Problems writing special characters

Started by Archive, May 12, 2010, 08:53:53 AM

Previous topic - Next topic

Archive

[Originally posted by iabaro on 2006-03-21 17:46:13-08]

Hi all:

I'm using ExifTool under Win2000/ActivePerl 5.8.7.
When I try to write special characters (accents etc.) to EXIF, I can't obtain the correct character.
Is there anyway to correct this?

Thanks,
Iñaki

Archive

[Originally posted by exiftool on 2006-03-21 18:11:54-08]

The answer is not so simple.  It depends on which tag you are writing, and what shell you are using.

Most text tags are pure ASCII.  Tags like this, don't have good support for special characters.  You can use the "high ASCII" codes (values 128 and above), but they may display differently in different environments.

Some other tags are UTF-8  (like XMP tags).  For these you will have to generate UTF-8 byte sequences, which may be difficult from the command line.  It may be easier to write the text in a word processor that will output in UTF-8, and set the tag from the contents of the text file (ie. "-TAG<=file.txt").  Either that, or cut-and-paste from an ExifTool output which contains the characters you want.

Still other tags are Unicode (tags like XPAuthor...), which can be input as either UTF-8 (the default), or Windows Latin1 characters (with the -L option).  There should be a way to generate the Latin1 characters from a Windows command line, but I'm not familiar with the key sequences.

Archive

[Originally posted by iabaro on 2006-03-27 08:35:25-08]

Well, finally I get a solution: using Linux...

Iñaki