[Qt-interest] qdoc encoding problem

程梁 chengliang.soft at gmail.com
Sat Aug 7 13:59:53 CEST 2010


Sorry, but this configuration parameter "outputencoding" has not been added
in 4.6 source files.
Maybe it is a new feature added into 4.7.
Thanks again.


在 2010年7月28日 上午8:09,程梁 <chengliang.soft at gmail.com>写道:

> 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
>



-- 
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/20100807/fafbcb3e/attachment.html 


More information about the Qt-interest-old mailing list