Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

Preview copies aliens! Literally. Here is a screenshot:

Screenshot

The text selected on the pdf was copied (Cmd+C) and pasted (Cmd+V) from Preview to TextEdit. What did I get? A bunch of aliens.

I'm guessing this is an encoding issue. Is there a way to change encoding in Preview or something? Is there a way I can check what encoiding it is using and then choose the appropiate on TextEdit? Here is the text, just so you can see the squares for yourselves (No aliens, apparently that error character only appears on native OSX apps and not browsers).

􏰀􏰒􏰖􏰓􏰎􏰤􏰣􏰠􏰄 􏰔􏰘􏰐􏰗􏰄 􏰡􏰙􏰥􏰛􏰛􏰐􏰑􏰄 􏰒􏰤􏰄 􏰥􏰖􏰑􏰄 􏰛􏰔􏰥􏰤􏰐􏰄 􏰢􏰙􏰎􏰑􏰣􏰐􏰄 􏰎􏰤􏰄 􏰔􏰘􏰐􏰄 􏰛􏰘􏰒􏰜􏰐􏰄 􏰥􏰝􏰄 􏰒 􏰡􏰙􏰐􏰛􏰡􏰐􏰤􏰔􏰄􏰏􏰥􏰥􏰤􏰠􏰄􏰞􏰘􏰎􏰡􏰘􏰄􏰖􏰥􏰥􏰓􏰐􏰑􏰄􏰔􏰥􏰄􏰢􏰐􏰄􏰎􏰤􏰄􏰢􏰒􏰑􏰄􏰙􏰐􏰜􏰒􏰎􏰙􏰠􏰄􏰒􏰤􏰑􏰄􏰛􏰓􏰎􏰙􏰔􏰐􏰑􏰄􏰒􏰖􏰥􏰤􏰣 􏰔􏰘􏰐􏰄􏰢􏰒􏰤􏰓􏰄􏰞􏰘􏰐􏰙􏰐􏰄􏰞􏰎􏰖􏰖􏰥􏰞􏰄􏰔􏰙􏰐􏰐􏰄􏰖􏰎􏰏􏰢􏰛􏰄􏰘􏰟􏰤􏰣􏰄􏰖􏰎􏰓􏰐􏰄􏰒􏰄􏰡􏰟􏰙􏰔􏰒􏰎􏰤􏰕

Alien

(I must admit OSX's error character is pretty amusing).

share|improve this question
    
Can you provide the PDF? –  Pascal Qyy Aug 21 '12 at 5:12
    
Sure. It was an ebook which I converted to pdf on the following website: ebook.online-convert.com/convert-to-pdf. Here is the pdf: d.pr/f/vlaf. –  kevin9794 Aug 21 '12 at 5:20
    
Maybe it's some kind of Apple copyright implementation of some sort....? (Hopefully not) –  theAmateurProgrammer Aug 21 '12 at 7:16
1  
The PDF probably is protected. –  Gerry Aug 21 '12 at 8:33

2 Answers 2

up vote 7 down vote accepted

The PDF file has been protected. You can’t copy-paste text from it. Plane 16 is displayed when a character is in the “private” area of the Unicode specification. This has been deliberately done to prevent you from copy-pasting.

Also, this is not OS X’s error character. It just appears when it encounters something in the private area of the Unicode spec.

A PDF file optionally contains a mapping to the Unicode private area for each character in the font. This particular PDF contains such a map, so it will display the correct glyphs only in a PDF reader.

Simple English: The PDF file is full of characters, which are mapped to different places in the Unicode private area. Normally, it would just display Plane 16, but because the PDF file contains a map which translate the private area characters into readable latin glyphs (a, b, R, F, etc), you see words in the PDF but aliens in other places.

share|improve this answer
1  
Now the "Private Use" on the character makes sense... Thank you! I guess I'll have to copy any quotes by hand. If it's not too much bothering I reckon I'd enjoy a short technical explanation to help my curiosity, now that you mention it. –  kevin9794 Aug 22 '12 at 2:54

I had a half Chinese, half English PDF that also copied aliens (different alien though). It used to copy just fine until I added some annotations in Preview.app (some highlighting and text). I reverted to the previous version and it now copies fine again. Something to consider.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.