D14122: KFormat: Replace unicode literal with unicode codepoint to fix MSVC build

Stefan BrĂ¼ns noreply at phabricator.kde.org
Sun Jul 15 01:54:12 BST 2018


bruns created this revision.
bruns added reviewers: Frameworks, kossebau, bcooksley.
Restricted Application added a project: Frameworks.
Restricted Application added a subscriber: kde-frameworks-devel.
bruns requested review of this revision.

REVISION SUMMARY
  MSVC is unable to parse UTF-8 sequences when the file has no BOM (byte
  order mark), and fails with "error C2015: too many characters in constant".

TEST PLAN
  run kformattest unit test

REPOSITORY
  R244 KCoreAddons

BRANCH
  msvc_fix

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

AFFECTED FILES
  src/lib/util/kformatprivate.cpp

To: bruns, #frameworks, kossebau, bcooksley
Cc: kde-frameworks-devel, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180715/c782eb58/attachment.html>


More information about the Kde-frameworks-devel mailing list