skip to main
|
skip to sidebar
Denver's 學習日誌
這裡放置我的學習筆記,或是網路上找到的資訊。
顯示具有
Qt Library
標籤的文章。
顯示所有文章
顯示具有
Qt Library
標籤的文章。
顯示所有文章
2009年10月7日 星期三
QTextCodec 改變文字編碼以解決亂碼問題
假設你的原文件是utf8編碼,
#include < qtextcodec >
QTextCodec * BianMa = QTextCodec::codecForName ( "utf8" );
textLabel1->setText(BianMa->toUnicode("我愛妳!"));
QUrl 路徑格式解析
參考網頁:
http://doc.trolltech.com/4.5/qurl.html
較舊的文章
首頁
訂閱:
文章 (Atom)
標籤
字型
(1)
Blogger
(1)
Bluetooth
(3)
browser
(1)
google
(1)
KDE
(2)
OpenGL
(1)
Qt
(17)
Qt Library
(2)
SerialPort
(2)
Tips
(2)
Ubuntu
(9)
VirtualBox
(1)
Webkit
(1)
Windows
(2)
網誌存檔
▼
2010
(14)
▼
12月
(2)
Qt Webkit demo
google好手氣
►
11月
(4)
►
9月
(1)
►
8月
(1)
►
4月
(2)
►
1月
(4)
►
2009
(18)
►
12月
(1)
►
10月
(2)
►
9月
(1)
►
7月
(2)
►
6月
(12)