[Qt-interest] QWebKit does not display chinese charcters from chinese web site

Sorin Lazarescu Sorin.Lazarescu at jdsu.com
Thu Jul 23 20:08:25 CEST 2009


Hi everybody

 

I use a small QT sample that uses QWebKit to render HTML pages. The
small sample written in Qt is below:

 

QWidget *win = new QWidget();

QVBoxLayout *lay = new QVBoxLayout();

QWebView *web = new QWebView();

web->load(QUrl("http://chinese.aol.com"));

lay->addWidget(web);

win->setLayout(lay);

win->show();

 

I have no problem to display any English Web site but when I am going to
http://chinese.aol.com all Chinese characters from the site are
presented as empty boxes or nothing. Arora that is based on WebKit
module has also the same problem when loading chinese site!

 

Is any way I could use WebKit and display the chinese HTML pages as IE
is doing?

 

Thanks

 

Sorin

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090723/b4bf3dcb/attachment.html 


More information about the Qt-interest-old mailing list