我的pdf文件是否以UTF-8编码?

问题描述:

我想找出一个pdf文件是否以UTF-8编码.如何检查pdf文件中使用了哪种caracter编码?

I would like to find out, if a pdf file is encoded in UTF-8. How to check, which caracter encoding is used in a pdf file?

PDF是二进制文件,而不是文本文件.

A PDF is a binary file, not a text file.

"UTF-8"之类的字符编码仅在文本文件(* .txt,*.html,*.xml,*.csv等)的上下文中才有意义.

A character encoding like "UTF-8" makes only sense in context with text files (*.txt, *.html, *.xml, *.csv, ...).

因此,PDF绝不会采用UTF-8编码.

Thus, a PDF never is UTF-8 encoded.