difficulties with special german characters and character sets

Started by Nichtraucher, December 19, 2015, 09:13:28 PM

Previous topic - Next topic

Nichtraucher

Hey  :)


I know that this has been asked a gazllion times but I'm having headaches after reading and trying -unsuccessfully- many things.

I use Linux (Linux Mint 13) and I'm working on adding keywords (in german) to pdf- and other files. The terminal is set to UTF8.

Troublemakers are words with german "Umlaute" (Ä,Ö,Ü,ä,ö,ü) and the "ß" When I include words with such characters, these look garbled when I open the file in the viewer. Trying different viewers doesn't make a difference. Besides UTF-8 I've tried latin1 and latin2 with the same results.

I wrongly tried to add three keywords using spaces to seperate them:
exiftool -pdf:keywords+="Störungen Führung Disziplin" -overwrite_original *.pdf
These were added as one single keyword but they are being displayed correctly!?

any help is much appreciated.  :)


/edit: But it does work on some other files! Arrrghh! What is going on here!?!

Phil Harvey

Special character support in PDF metadata by other software may be very poor.  I really recommend using XMP if possible since for this since it is natively UTF-8 and hence will have more universal support for special characters.

But this should work if you are just using ExifTool to read it back again.  Is that what you are doing?  If so, I don't see how this would be different for different files (unless perhaps the other files already have keywords that are somehow interfering).  How exactly are you displaying this?

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).