Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
5.6.3, 5.10.0
-
None
-
Latest x64 Windows 10, offical gcc Qt 5.10.0 & Qt 5.6.3 verified. It is probably an old issue and impact other Qt versions.
Description
Some characters located in Shift-JIS cannot be correctly read by Qt. When trying to decode them via Shift-JIS encoding in Qt, they're replaced by replacement char 0xfffd.
They're 1-20 surrounded by a circle. ①②③④⑤⑥⑦⑧⑨⑩⑪⑫⑬⑭⑮⑯⑰⑱⑲⑳, or Shift-JIS code range [0x8740, 0x8753]. They can also be found in this page.
http://www.rikai.com/library/kanjitables/kanji_codes.sjis.shtml
The attached files are a short program to reproduce this issue and text file used by it.
I've not checked every character in Shift-JIS. But at least these 20 chars cannot be handled by Qt correctly.