
Hi,
in MSVC 8.0 _UNICODE build, after I send a ptime to wcout, I can no
longer print "international" characters. When I use a temporary
wostringstream for printing the ptime, everything is OK. Minimal repro
see below (the "2" at the end is never printed). With some characters
like the "š" in the example, the output is totally cut off; with others,
like "á", the codepage is changed, so the characters are displayed
incorrectly.
Any suggestions?
Thanks,
Filip
// _UNICODE must be defined; the "2" is never printed.
#include <string>
#include <iostream>
#include <sstream>
#include