UTF-8 or an older encoding: every language or one region
A text file stores numbers, and an encoding is the table that turns those numbers back into letters. UTF-8 is the modern table: it covers the letters of every writing system, including accents, Arabic and Chinese, and it is the default on most websites and current programs. Older encodings were made for a single region and hold only a few hundred symbols. A file saved in one of them and read as UTF-8, or the other way round, shows damaged letters. That matters when you convert such a file into a PDF, since the symbols you see on screen are the ones that end up in the document.
At a glance
| Aspect | UTF-8 | Older encoding |
|---|---|---|
| Languages covered | All writing systems. | One region or language group. |
| Accents and symbols | Kept correctly. | Often damaged when read elsewhere. |
| Mixed languages in one file | Possible. | Usually not possible. |
| Support today | Default in most programs. | Found mainly in old files. |
| Risk when converting | Low. | Wrong letters if the table is guessed. |
Look at names and signs before converting
Open the file first and look at names with accents, currency signs and quotation marks, because they break before anything else. If they look wrong, reopen the file with the encoding it was saved in, then save it again in UTF-8 and convert the new copy. After creating the PDF, read it once and check that every symbol survived. Extracting the text back out of the PDF is a quick way to confirm that the letters are stored correctly.
When to choose which
UTF-8
Choose UTF-8 for any new text or data file, and for documents that mix languages or contain accents and symbols.
Older encoding
Keep an older encoding only when a legacy program requires it, and convert to UTF-8 before making the PDF.
Free tools for both options
Guides that put it into practice
PDF terms explained
- Character encodingCharacter encoding is the table that links stored numbers to letters. Learn why accents turn into strange symbols, what UTF-8 does, and how to avoid the problem in a PDF.
- Plain textPlain text holds characters with no formatting. Learn how TXT and CSV files work, how they differ from PDFs and how to convert between them.
- CSVCSV is a plain-text format that stores a table as lines of values split by a separator. Learn how it works, its pitfalls and how to move data between CSV and PDF.
Common questions
- How do I know which encoding a file uses?
- Open it and look for damaged letters. If accents show as strange symbols, the file was probably saved in a different table.
- Does the PDF keep the encoding problem?
- Yes. If the letters are wrong when the PDF is created, they stay wrong in the document, so fix the text first.
- Which of your tools handle this?
- TXT to PDF and CSV to PDF create a document from your text or data, and PDF to text returns the words as plain text so you can check them.