In Qt 4.8 this was working fine.
QString test = "this is a test message for special characters ‘sk’ @#$%^&*()"; qDebug()<<"test message"; qDebug()<< test;
But in QT 5.9 I am getting a REPLACEMENT CHARACTER .
Output in Qt 4.8
test message this is a test message for special characters ‘sk’ @#$%^&*()
But in Qt 5.9 I am getting this output
test message this is a test message for special characters �sk� @#$%^&*()
What is the problem with Qt 5.9? what are the fixes available for this?