[Interest] QTextStream vs UTF-8 string literals

2016-10-29 Thread Bernhard Lindner
Please note this questions in StackExchange: http://stackoverflow.com/q/40318671/1421332 It asks why operator<<(const char *string) expects latin-1 strings (especially considering that Qt source files shall be UTF-8 now). Is that desired behavior? Is there an easy way to stream a lot of UTF-8

Re: [Interest] QTextStream vs UTF-8 string literals

2016-10-29 Thread Thiago Macieira
On sábado, 29 de outubro de 2016 15:11:10 PDT Bernhard Lindner wrote: > Please note this questions in StackExchange: > > http://stackoverflow.com/q/40318671/1421332 > > It asks why operator<<(const char *string) expects latin-1 strings > (especially considering that Qt source files shall be

Re: [Interest] QTextStream vs UTF-8 string literals

2016-10-29 Thread Bernhard Lindner
> > http://stackoverflow.com/q/40318671/1421332 > > > > It asks why operator<<(const char *string) expects latin-1 strings > > (especially considering that Qt source files shall be UTF-8 now). > > > > Is that desired behavior? > > No. It's something I didn't notice when I changed the encoding