[Qt-interest] qdoc encoding problem

程梁 chengliang.soft at gmail.com
Wed Jul 28 02:09:38 CEST 2010


Thank you very much! It is hard to find qdoc's documents... You help me a
lot!

2010/7/28 Constantin Makshin <cmakshin at gmail.com>

> According to the source code of the "qdoc" utility, HTML charset/encoding
> is set by the "outputencoding" configuration parameter.
>
>
> http://qt.gitorious.org/qt/qt/blobs/4.7/tools/qdoc3/htmlgenerator.cpp#line293
> http://qt.gitorious.org/qt/qt/blobs/4.7/tools/qdoc3/config.h#line148
>
> On Tuesday 27 July 2010 16:08:44 程梁 wrote:
> > Hi! I'm trying to translate Qt documents into Chinese. I found qdoc
> source
> > files in
> > %QT_PATH%/qt/doc/src and used qt.qdocconf file that is in
> > %QT_PATH%/qt/tools/qdoc3/test.
> >
> > When I have finished one page and tried to compile them into html the
> page
> > encoding is ISO-8859-1
> > so all Chinese characters are garbled although my qdoc translated is
> UTF-8.
> > So could you tell me
> > how to change the html charset generated by qdoc?
> >
> > Thank you!
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>



-- 
Cheng Liang
from: chengliang.soft at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100728/13ad2b57/attachment.html 


More information about the Qt-interest-old mailing list