I just posted an answer to my issue which I think clarifies it a lot: https://stackoverflow.com/a/58099629
I used app.exe > out.txt 2>&1 which generates a file without these formatting issues. So the problem is that usually std::cout does this splitting but the underlying control (which receives the char sequence) has to handle correct reassembling? Unfortunately, nothing seems to handle it on Windows, except file streams.
std::cout splits up UTF-8 characters so that garbage characters are displayed
I tried to build wxSVG-1.5.13 for wxWidgets-3.1.0 on Windows 7, using MinGW-w64 gcc compiler. So far, I 1. added D:\gtk\lib\pkgconfig;D:\wxWidgets-3.1.0\src\expat to environment variable PKG_CONFIG_PATH. 2. added D:\wxWidgets-3.1.0;D:\wx-config;D:\gtk\bin to environment variable PATH. 3. downloaded gtk+-bundle_3.10.4-20131202_win64 and put it in D:\gtk. 4. downloaded wx-config.exe (part of wxwidgets-3.0.1-tdm-gcc-481-32-devel), put in D:\wx-config. 5. built and installed libtool-2.4.6 and put it...
I tried to build wxSVG-1.5.13 for wxWidgets-3.1.0 on Windows 7, using MinGW-w64 gcc compiler. So far, I 1. added D:\gtk\lib\pkgconfig;D:\wxWidgets-3.1.0\src\expat to environment variable PKG_CONFIG_PATH. 2. added D:\wxWidgets-3.1.0;D:\wx-config;D:\gtk\bin to environment variable PATH. 3. downloaded gtk+-bundle_3.10.4-20131202_win64 and put it in D:\gtk. 4. downloaded wx-config.exe (part of wxwidgets-3.0.1-tdm-gcc-481-32-devel), put in D:\wx-config. 5. built and installed libtool-2.4.6 and put it...
I tried to build wxSVG-1.5.13 for wxWidgets-3.1.0 on Windows 7, using MinGW-w64 gcc compiler. So far, I 1. added D:\gtk\lib\pkgconfig;D:\wxWidgets-3.1.0\src\expat to environment variable PKG_CONFIG_PATH. 2. added D:\wxWidgets-3.1.0;D:\wx-config;D:\gtk\bin to environment variable PATH. 3. downloaded gtk+-bundle_3.10.4-20131202_win64 and put it in D:\gtk. 4. downloaded wx-config.exe (part of wxwidgets-3.0.1-tdm-gcc-481-32-devel), put in D:\wx-config. 5. built and installed libtool-2.4.6 and put it...
I tried to build wxSVG-1.5.13 for wxWidgets-3.1.0 on Windows 7, using MinGW-w64 gcc compiler. So far, I 1. added D:\gtk\lib\pkgconfig;D:\wxWidgets-3.1.0\src\expat to environment variable PKG_CONFIG_PATH. 2. added D:\wxWidgets-3.1.0;D:\wx-config;D:\gtk\bin to environment variable PATH. 3. downloaded gtk+-bundle_3.10.4-20131202_win64 and put it in D:\gtk. 4. downloaded wx-config.exe (part of wxwidgets-3.0.1-tdm-gcc-481-32-devel), put in D:\wx-config. 5. built and installed libtool-2.4.6 and put it...
I tried to build wxSVG-1.5.13 on Windows 7, using MinGW-w64 gcc compiler. So far, I 1. added D:\gtk\lib\pkgconfig;D:\wxWidgets-3.1.0\src\expat to environment variable PKG_CONFIG_PATH. 2. added D:\wxWidgets-3.1.0;D:\wx-config;D:\gtk\bin to environment variable PATH. 3. downloaded gtk+-bundle_3.10.4-20131202_win64 and put it in D:\gtk. 4. downloaded wx-config.exe (part of wxwidgets-3.0.1-tdm-gcc-481-32-devel), put in D:\wx-config. 5. built and installed libtool-2.4.6 and put it in D:\libtool-2.4.6....