PDF Viewer doesn't uses BOM to detect title encoding
Categories
(Firefox :: PDF Viewer, defect, P3)
Tracking
()
People
(Reporter: ashalimov, Unassigned)
References
Details
Attachments
(1 file)
37.36 KB,
application/pdf
|
Details |
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:70.0) Gecko/20100101 Firefox/70.0
Steps to reproduce:
When I open PDF file with some national symbols in title (Cyrillic in my case), encoded in UTF16 with BOM, it is displayed incorrectly in Firefox tab title. Some other browser that also has built-in PDF viewer displays them properly. Attached sample document with such title.
Actual results:
Text is displayed incorrectly: first two symbols ÿþ (that corresponds to 0xFF and 0xFE respectively), then garbage letters. It looks like Firefox displays it as plain ASCII.
Expected results:
Firefox should use BOM to detect proper encoding. In this case, the title should be "Общее описание системы".
Comment 1•5 years ago
|
||
Bugbug thinks this bug should belong to this component, but please revert this change in case of error.
Updated•5 years ago
|
Updated•5 years ago
|
Description
•