Chinese characters?

Matic Kukovec kukovecmatic at hotmail.com
Fri Dec 1 18:56:05 GMT 2023


Hi guys,

Specs:

  *
Windows 10 x64
  *   Python 3.12
  *   PyQt6.5.3 / QScintilla2.14.1

Anyone know why I can't get Chinese characters to display correctly:
[cid:a6eb4b63-b2fe-4876-8bfe-770ea99d7d8e]

I'm using the "Courier New" font and "self.setUtf8(True)".
Also tried "self.SendScintilla(self.SCI_SETCODEPAGE, self.SC_CP_UTF8, 0);", but no changes.

Notepad++ uses the same font and it displays them correctly.

Any ideas?

Thanks,
Matic



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/qscintilla/attachments/20231201/9802d240/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 13820 bytes
Desc: image.png
URL: <https://www.riverbankcomputing.com/pipermail/qscintilla/attachments/20231201/9802d240/attachment-0001.png>


More information about the QScintilla mailing list