diff options
author | Edward Welbourne <edward.welbourne@qt.io> | 2017-03-06 11:20:25 +0100 |
---|---|---|
committer | Edward Welbourne <edward.welbourne@qt.io> | 2017-03-09 18:25:05 +0000 |
commit | 5e3617bef5bc7e4c98fb63514471c49800feef03 (patch) | |
tree | bd181997e5885cfc1cda287bfcc5e7cda3db5fd2 /tests/auto/qtattributionsscanner | |
parent | 4e104dc3cb6a26df071bc33fc75cd3edac12c3a7 (diff) | |
download | qttools-5e3617bef5bc7e4c98fb63514471c49800feef03.tar.gz |
Fix lupdate to handle \u escapes
It treated \u as u, which isn't correct. Instead, read the number
following and convert, via QChar, to UTF-8 encoding in the byte array
(that'll later be .fromUtf8()ed). Added a simple test-case.
Task-number: QTBUG-35164
Change-Id: Ib23cc5e5fb98e6cb8715b4018545e40a40e271d0
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Diffstat (limited to 'tests/auto/qtattributionsscanner')
0 files changed, 0 insertions, 0 deletions