[Qt-interest] Problem in QString interpretation of single-quote closing apostrophe ( ’ )
Constantin Makshin
cmakshin at gmail.com
Wed Jul 7 17:21:12 CEST 2010
There's no closing single quotation mark in ASCII character set.
On Wednesday 07 July 2010 17:04:33 Sarath wrote:
> #include <iostream>
> #include <QString>
>
> int main ()
> {
> QString str = "single-quote’";
> std::cout << "str is " << str.toAscii().constData() << std::endl;
>
> return 0;
> }
More information about the Qt-interest-old
mailing list