Commit graph

7 commits

Author SHA1 Message Date
yifang b652d50291 optimize: wchar use builtin char32_t
optimize: wchar use builtin char32_t
2022-02-17 22:33:58 +08:00
yifang cc9fa33733 fix linux compile error 2021-10-23 12:05:16 +08:00
xiaoyifang 9857ed0559 use char32_t as the inner string unit. 2021-10-20 23:02:37 +08:00
Tvangeste 27c4bf7d30 Properly handle non-normalized unicode headwords
With that change users should be able to search headwords in
any form. For example:

U+03B5 GREEK SMALL LETTER EPSILON and U+0301 COMBINING ACUTE ACCENT

is considered equal to

U+03AD GREEK SMALL LETTER EPSILON WITH TONOS

And no matter in what form the headword is provided in the dictionary, users will be able to find it,
even using the different form.
2013-07-06 20:18:43 +02:00
Timon Wong 07113d0bf6 Fix unexpected result using QString::toStdWString() (fix #107 again, QTBUG-25536)
* QString::toStdWString() and QString::toUCS4() will have wrong size when
  QString instances contain non-BMP characters.

Close #320
2013-05-27 14:56:16 +08:00
Abs62 eaa62e69a0 Win-specific: Workaround for CJK Extension B characters handling in QString::toUcs4(). Fix issue #107. 2012-07-19 16:53:15 +04:00
Konstantin Isakov ab88fa4867 Drop the src/ directory. It's superfluous. 2010-05-15 16:42:18 +04:00
Renamed from src/wstring_qt.cc (Browse further)