D19107: Write valid UTF8 characters without escaping.

David Faure noreply at phabricator.kde.org
Mon Feb 18 21:41:02 GMT 2019


dfaure added a comment.


  No objection from me, but I'm no utf-8 expert.
  
  Thiago's input would be very valuable...

INLINE COMMENTS

> kconfigtest.cpp:1774
> +#endif
> +#define VALUE "v1=Téléchargements\nv2=$¢ह€𐍈\nv3=\\xc2\\xe0\\xa4\\xf0\\x90\\x8d"
> +    QCOMPARE(fileBytes, QByteArrayLiteral("[General]\n" VALUE "\n"));

What's the purpose of this very short-lived define, compared to just inlining this into the next line?

REPOSITORY
  R237 KConfig

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

To: vandenoever, dfaure, arichardson, apol, #frameworks
Cc: rapiteanu, kde-frameworks-devel, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190218/b72e6daa/attachment.html>


More information about the Kde-frameworks-devel mailing list