2011年1月14日 - A PDF is a binary object. You need to write the bytes directly to a file. Turning into text will probably break it. Does it start with %%PDF- and end with ...
stackoverflow.com