Planet PDF Forum Planet PDF Forum
  New Posts New Posts RSS Feed - pdf is damaged beyond repair
  FAQ FAQ  Forum Search   Register Register  Login Login

Hi, welcome to the Foxit Planet PDF Forum. If you have PDF or Adobe Acrobat questions then the right place to ask them is here, in this forum.

pdf is damaged beyond repair

 Post Reply Post Reply
taral View Drop Down
New Member
New Member

Joined: 20 Feb 2017
Points: 1
Post Options Post Options   Quote taral Quote  Post ReplyReply Direct Link To This Post Topic: pdf is damaged beyond repair
    Posted: 20 Feb 2017 at 4:23am
Hi All,

I have simply opened a pdf in notepad++ and copied all the content (Ctrl + A , Ctrl + C) and created a new text document and paste it there and then renamed the file extension to *.pdf 
now if i open this new pdf in acrobat it shows pdf is damaged beyond repair. Why did i get this error..??
Anything will be appreciated,..?
Back to Top
Sponsored Links

Back to Top
Rob Lyman View Drop Down
New Member
New Member

Joined: 12 May 2015
Location: Chicago
Points: 28
Post Options Post Options   Quote Rob Lyman Quote  Post ReplyReply Direct Link To This Post Posted: 23 Feb 2017 at 8:50pm
PDF is a binary file format: when copying, the bytes it contains must be preserved precisely, and remain at the same locations in the file.

If you open it as plain text in a text editor, several of the binary values it contains will not be displayable in whatever text encoding your editor is trying to use (most likely ASCII or something closely related, such as ISO-8859-1). These un-displayable bytes will be converted to something that can be displayed; after copying-and-pasting, these modified values will irreparably corrupt the data of the PDF. (It's also possible your text editor is doing things like converting line endings, which will further corrupt the data.)

In short, you can't treat the contents of a PDF as plain text; you have to make efforts to preserve its binary nature.
Rob Lyman
Software Engineer
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.10
Copyright ©2001-2017 Web Wiz Ltd.

This page was generated in 0.047 seconds.