2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-06-05 20:00:53 +00:00
qpdf/qpdf/qtest/qpdf/unicode.in
Jay Berkenbilt f4ca04cec1 Fix edge case in character encoding (fixes #778)
Avoid representing as PDF Doc encoding any string whose PDF Doc
encoding representation starts with a UTF-16 or UTF-8 marker.
2022-09-26 08:06:47 -04:00

13 lines
451 B
Plaintext

This is a potato: 🥔 (u+01f954).
If you wanted to, you could cook some sweet 🥔 π.
If you think wwwwww is good, you should try ʬʬʬʬʬʬ.
బంగాళాదుంప సలాడ్
𝄞 𝄢 𝄪 𝅂
This can be encoded in ASCII.
This can be encoded in PDFDocEncoding (€).
þÿ -- PDFDoc would look like UTF-16-BE
ÿþ -- PDFDoc would look like UTF-16-LE
 -- PDFDoc would look like UTF-8
ï»» -- PDFDoc okay
þþ -- PDFDoc okay