zoukankan      html  css  js  c++  java
  • Qt assistant .qch显示乱码问题

    一、.qhp文档里xml 编码格式

      1、UTF-8, qhelpgenerator生成qch文档会报错。

            2、ISO-8859-1, 在Qt assistant里面看起来全是乱码

      3、GB2312,在Qt assistant里面,目录正确显示,详情乱码

    二、 html文档里的格式

      

    <?xml version="1.0" encoding="GB2312"?>
    <QtHelpProject version="1.0">
      <namespace>romtekAssistantOrange.myHelp</namespace>
        <virtualFolder>doc</virtualFolder>
        <filterSection>
          <toc>
            <section title="Orange 帮助系统" ref = "index.html">
              <section title = "1.引言" ref = "1.引言.html"></section>
              <section title = "2.软件概述" ref = "2.软件概述.html"></section>
              <section title = "3.运行环境与安装" ref = "3.运行环境与安装.html"></section>
              <section title = "4.软件工程介绍" ref = "4.软件工程介绍.html"></section>
              <section title = "加入我们" ref = "joinUs.html"></section>
          </section>
        </toc>
        <keywords>
          <keyword name = "1.引言" ref = "1.引言.html"/>
          <keyword name = "2.软件概述" ref = "2.软件概述.html"/>
          <keyword name = "3.运行环境与安装" ref = "3.运行环境与安装.html"/>
          <keyword name = "4.软件工程介绍" ref = "4.软件工程介绍.html"/>
          <keyword name = "加入我们" ref = "joinUs.html"/>
        </keywords>
        <files>
           <file>index.html</file>
           <file>1.引言.html</file>
            <file>2.软件概述.html</file>
           <file>3.运行环境与安装.html</file>
           <file>4.软件工程介绍.html</file>
          <file>joinUs.html</file>
          <file>images/*.png</file>
        </files>
      </filterSection>
    </QtHelpProject>

  • 相关阅读:
    都是CSS惹的祸
    Ruby简介
    网络攻击利用DedeCms漏洞
    ASP.NET验证技术详解
    一个低级错误引发的血案
    FCKeditor配置和精简【附源码】
    邮件发送详解
    Timer定时器的设计实例详解
    常用的加密算法MD5、SHA1
    JS日历控件集合附效果图、源代码
  • 原文地址:https://www.cnblogs.com/azbane/p/12326525.html
Copyright © 2011-2022 走看看