[KCharSelect] Handle characters outside BMP

Review Request #120904 - Created Oct. 30, 2014 and submitted

Information
Christoph Feck
kwidgetsaddons
master
142625
128453
Reviewers
kdeframeworks
laidig
Changed QChar to uint everywhere in KCharSelect to be able to handle non-BMP characters.

Old API is still working, unless the user does setAllPlanesEnabled(true), then it is expected that she does use the new API.

This is the first step to fix bug 142625, and should be committed as early as possible (for 5.25?), so that application developers have time to adopt the new API.

When using utils/kcharselect without patch from https://git.reviewboard.kde.org/r/128453/ it seems to work as previously.

When applying above patch to utils/kcharselect:

  • kcharselect-data still only has 16 bit data, so no blocks outside the BMP can be browsed. The code to create and parse the database still needs to be updated.
  • you can search for 0x12345 unicode or 0x23456 unicode, and see some naming difference
  • you can copy the resulting non-BMP character

Issues

  • 0
  • 3
  • 0
  • 3
Description From Last Updated
David Faure
Christoph Feck
Christoph Feck
Christoph Feck
Christoph Feck
Christoph Feck
Christoph Feck
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted with commit 7baa78ca83ab3c47d2f03259959ec25e59b2f711 by Christoph Feck to branch master.
Loading...