After reading PDF file format specification manual and several other websites providing considerable amount of theories on this subject, I built one simple pdf file.
An empty blank page, pretty much doing nothing else. But my problem is, When I am trying to close it, Adobe Reader prompts a dialog for saving any changes. Its only happening with simple pdf files without any encoding/encryption.
Another thing I noticed, in any PDF file after the PDF version, there are some bizarre set of characters, "%âãÏÓ" which is not mentioned in even Adobe PDF specification manual. But almost all PDFs I had in my collection has got this value, when I opened it using a hex editor.
Please shed some light on this topic, if any one knows. What is wrong with my pdf code and what is that strange set of bytes following pdf version