(Solved)QString print strange value
Solved
General and Desktop
-
Do u have only this qdebug in your qt program ? Check this print is coming from previous qdebug. Which platform?
-
I am trying to print the QString using qDebug() but I am getting strange value printed.
QString c = QString("command"); qDebug()<<c;
Which print
"\u200Bcommand"
on the console, what could be the reason.
-
I am trying to print the QString using qDebug() but I am getting strange value printed.
QString c = QString("command"); qDebug()<<c;
Which print
"\u200Bcommand"
on the console, what could be the reason.
@haris123 @jsulm is right,
\u200B
is Unicode Character 'ZERO WIDTH SPACE' so it's probably not displayed in QtCreator.