andreasgal/pdf.js — Issue #696: pdf.js doesn't support Shift_JIS encoding
Author: vyv03354
Created: 2011-10-23 09:55:20+00:00
State: open

For example, this PDF text is completely garbled.
http://www.kurims.kyoto-u.ac.jp/~terui/pssj.pdf
The octet sequence is interpreted as UTF-16BE rather than Shift_JIS.
8C76 8E5A 985F 82CC 8CBB 8DDD 8146
'P' 8296 8293 'NP' 96E2 91E8 82C6 82CD 89BD 82A9 8148
wrong:
豶蹚顟苌費距腆
P芖芓NP離釨苆苍覽芩腈
expected:
計算論の現在：
PｖｓNP問題とは何か？