[Development] Shall we turn on /utf-8 compiler option when build qt for Windows?

Lars, Knoll lars.knoll at qt.io
Mon Jan 30 12:45:56 CET 2017


> On 30 Jan 2017, at 12:06, Viktor Engelmann <viktor.engelmann at qt.io> wrote:
> 
> 
> Am 30.01.2017 um 11:40 schrieb Giuseppe D'Angelo:
>> Il 30/01/2017 11:35, Viktor Engelmann ha scritto:
>>> As far as I can see, all our codes *are* UTF-8 encoded (a least they
>>> should be, IMHO), so why would we sneak our UTF8 in behind it's back (in
>>> 2017!) instead of just telling the compiler the encoding we are using?
>> So *all* of our compilers happily support UTF-8 encoded sources?
> 
> I wouldn't bet my life on that (especially not for windows!)

I think MSVC 2013 still doesn’t support utf8 as input encoding. But that compiler will get phased out at some point.

Cheers,
Lars




More information about the Development mailing list