[Development] HEADS-UP: QStringLiteral

Ville Voutilainen ville.voutilainen at gmail.com
Wed Aug 21 13:13:07 CEST 2019


On Wed, 21 Aug 2019 at 13:23, Lars Knoll <lars.knoll at qt.io> wrote:
> One way would be by enforcing utf8 as source encoding for Qt based projects. It’s a huge shame that C++ doesn’t specify the encoding of source code as opposed to pretty much any other programming language (hell even JS got that one right…).

You can ask the SG16 folks for more details, but it's waaaaayyyy too
soon to make such a break. There are very serious users
whose source code is EBCDIC. In a nutshell, C++ has supported multiple
source encodings for a long time, and users rely
on that. So sure, it's a shame, but the shame can hardly be avoided by
anything else besides a time machine.


More information about the Development mailing list