Page 1 of 1

Umlauts woes (from Mellel forum)

Posted: Thu Aug 23, 2007 8:33 am
by Klaus
this topic moved here fom the Mellel forum:

http://forum.redlers.com/viewtopic.php?t=1287

Interestingly you are right Jon: it appears not to be a problem with different keyboard layouts. The behavior I described only happens when ich copy names, titles and the like containing umlauts from PDFs into bookends.

And only when using Apple Preview for it, not with Adobe Reader.

So I am assuming a Preview bug here, can anyone reproduce this malbehavior?

Klaus

Posted: Thu Aug 23, 2007 8:52 am
by Jon
I don't think it's a bug per se, just different ways of handling unicode (for which, unfortunately, there can be two different ways of displaying the same character).

I think that you can fix it in Bookends without a lot of trouble, though, with a find/replace. Copy the "bad" ü to the clipboard, open the Find/Replace dialog, paste the ü into the Find field. Then in the Replace field type Option-u followed by u.

Try this on a copy of your database.

Jon
Sonny Software

Posted: Thu Aug 23, 2007 9:00 am
by Jon
I did a little test that shows the problem.

1. Open TextEdit and type ü
2. Copy to the clipboard and examine with Clipboard Viewer. The UTF-16 codepoint is

00 FC

3. Save as pdf.
4. Open in Preview and copy. The UTF-16 codepoint is

03 08

So you see, they really are two different codepoints (equivalent to two different ASCII numbers).

Jon
Sonny Software

Posted: Thu Aug 23, 2007 11:44 am
by Klaus
Jon,

thank you, I hadn't considered the global find/replace option before (to be frank I was unaware of it).

And having isolated he problem feels good, as little as there can be done about it. Using Adobe Reader instead of Preview is... at least an option.

Thanks for the great support!

Klaus