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>

  • 相关阅读:
    从实验室走向世界:HSP90抑制剂,一种新的癌症药物
    RabbitMQ整合Spring Booot【消费者应答模式】
    RabbitMQ整合Spring Booot【点对点模式】
    Mac删除自带的abc输入法
    Docker搭建Kafka
    IK分词器
    Docker搭建ES集群
    Logstash配置同步mysql到es配置
    ELK分布式日志收集搭建和使用
    Docker安装ES和Kibana
  • 原文地址:https://www.cnblogs.com/azbane/p/12326525.html
Copyright © 2011-2022 走看看