D13641: [KCharSelect] Port generate-datafile.py to Python 3

Christoph Feck noreply at phabricator.kde.org
Thu Jun 21 22:29:17 UTC 2018


cfeck updated this revision to Diff 36490.
cfeck added a comment.
This revision is now accepted and ready to land.


  len() of UTF-8 encoded bytearray is different than len(str).
  Account for the difference when accumulating sizes.
  
  Unicode Names are always ASCII, so here len(bytearray) == len(str), and no change needed.

REPOSITORY
  R236 KWidgetsAddons

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D13641?vs=36414&id=36490

REVISION DETAIL
  https://phabricator.kde.org/D13641

AFFECTED FILES
  src/kcharselect-generate-datafile.py

To: cfeck, #frameworks, lbeltrame
Cc: kde-frameworks-devel, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180621/483dcc09/attachment.html>


More information about the Kde-frameworks-devel mailing list