Write log output in UTF-8.
--HG-- branch : develop
This commit is contained in:
parent
0ef92f9cba
commit
d1e3531247
|
@ -83,6 +83,7 @@ static const auto V_UNUSED V_EX_CONFIG = 78; /*Something was found in an un
|
||||||
inline QTextStream& vStdErr()
|
inline QTextStream& vStdErr()
|
||||||
{
|
{
|
||||||
static QTextStream ts( stderr );
|
static QTextStream ts( stderr );
|
||||||
|
ts.setCodec("UTF-8");
|
||||||
ts.flush();
|
ts.flush();
|
||||||
return ts;
|
return ts;
|
||||||
}
|
}
|
||||||
|
@ -91,6 +92,7 @@ inline QTextStream& vStdErr()
|
||||||
inline QTextStream& vStdOut()
|
inline QTextStream& vStdOut()
|
||||||
{
|
{
|
||||||
static QTextStream ts( stdout );
|
static QTextStream ts( stdout );
|
||||||
|
ts.setCodec("UTF-8");
|
||||||
ts.flush();
|
ts.flush();
|
||||||
return ts;
|
return ts;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user