Re: [Interest] Unicode code points in Vusual Studio. Output differs from MinGW

2016-08-16 Thread Viktor Engelmann
How can you code in notepad? That is just asking for trouble. At least take Notepad++. When you look at the internals, you see that UTF-8 is extremely well designed and almost always works nicely with everything except notepad and cmd.com. When your source file is UTF-8 encoded (which IMHO it sho

Re: [Interest] Unicode code points in Vusual Studio. Output differs from MinGW

2016-08-11 Thread Thiago Macieira
On quinta-feira, 11 de agosto de 2016 19:53:54 PDT Mark Gaiser wrote: > Thank you for the clear options. > I was hoping for some magic compile flag to fix this on MSVC 2010, but > apparently i'm out of luck. Yeah, Microsoft added one, but it's coming 7 years too late for you. > The only option i

Re: [Interest] Unicode code points in Vusual Studio. Output differs from MinGW

2016-08-11 Thread Henry Skoglund
On 2016-08-11 19:53, Mark Gaiser wrote: On Thu, Aug 11, 2016 at 6:29 PM, Thiago Macieira mailto:thiago.macie...@intel.com>> wrote: On quinta-feira, 11 de agosto de 2016 11:40:46 PDT Mark Gaiser wrote: > Is there any way that i can use a string with unicode code points within > tr(...

Re: [Interest] Unicode code points in Vusual Studio. Output differs from MinGW

2016-08-11 Thread Mark Gaiser
On Thu, Aug 11, 2016 at 6:29 PM, Thiago Macieira wrote: > On quinta-feira, 11 de agosto de 2016 11:40:46 PDT Mark Gaiser wrote: > > Is there any way that i can use a string with unicode code points within > > tr(...) that works on MSVC 2010 (as that is my setup), but it would be > > great if it a

Re: [Interest] Unicode code points in Vusual Studio. Output differs from MinGW

2016-08-11 Thread Thiago Macieira
On quinta-feira, 11 de agosto de 2016 11:40:46 PDT Mark Gaiser wrote: > Is there any way that i can use a string with unicode code points within > tr(...) that works on MSVC 2010 (as that is my setup), but it would be > great if it also works under MSVC 2015 and MinGW. There's no way to make that

[Interest] Unicode code points in Vusual Studio. Output differs from MinGW

2016-08-11 Thread Mark Gaiser
Hi, The following minimal code example demonstrates the issue (tested on Qt 5.6.1): #include #include #include int main(int, char **) { qDebug() << "tr:" << QObject::tr("Co\u00F6rdinaat"); qDebug() << "QString:" << QString("Co\u00F6rdinaat"); qDebug() << "(QDebug) std::string:" << QStri