Yes, MinGW works well, the default input-char-set of which is UTF-8 ,no matter whether BOM exists or not. The behavior is the same as GCC under linux.
Debao On Thu, Jun 7, 2012 at 12:52 PM, Konstantin Ritt <ritt...@gmail.com> wrote: > #g++ -std=c++0x len.cpp > #a.exe >> It's quite good > > both gcc-4.4.0 and gcc-4.6.2, MinGW32 > > Regards, > Konstantin > > > 2012/6/7 Jürgen Hunold <jhun...@gmx.eu>: >> Hi Thiago, >> >> On Thursday, 7. June 2012 21:27:29 Thiago Macieira wrote: >>> Anyway, MSVC is now on my list of "crap". I wonder what MinGW is doing on >>> Windows. >>> >>> Can anyone save the (UTF-8 encoded) attached source file and run it? Don't >>> forget to compile with -std=c++0x. >> >> E:\Home\hunold\src\test\utf8>g++ -std=c++0x len.cpp >> E:\Home\hunold\src\test\utf8>a >> It's quite good >> >> gcc version 4.6.3 20111208 (prerelease) (GCC) >> >> This is Mingw-64, using Ruben Van Boxems personal build. >> >> Hope this helps, >> >> yours, >> >> Jürgen >> -- >> * Dipl.-Math. Jürgen Hunold ! >> * voice: ++49 4257 300 ! Fährstraße 1 >> * fax : ++49 4257 300 ! 31609 Balge/Sebbenhausen >> * jhun...@gmx.eu ! Germany >> _______________________________________________ >> Development mailing list >> Development@qt-project.org >> http://lists.qt-project.org/mailman/listinfo/development > _______________________________________________ > Development mailing list > Development@qt-project.org > http://lists.qt-project.org/mailman/listinfo/development _______________________________________________ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development