「CHM」- Compiled HTML

  CREATED BY JENKINSBOT

问题描述

该笔记将记录:与 CHM 文档相关的内容,以及常见问题的解决方案。

解决方案

文档阅读软件

Kchmviewer

适用平台:Windows 10、Ubuntu 21.04

# 07/06/2021 这是我们目前找到唯一可用的 chm 查看工具:

apt-get install kchmviewer

xchm(无法使用)

xchm

打开文档,出现如下错误:

../src/common/unichar.cpp(65): assert "Assert failure" failed in ToHi8bit(): character cannot be converted to single byte

# 我们猜测或许是因为文档中包含中文字符。

chmsee(已停止维护)

Google Code Archive – Long-term storage for Google Code Project Hosting.

Stop maintain
ChmSee is not being developed anymore.
I haven’t read CHM documents more than a year, new and update IT books are pdfs or epubs, so it’s right time to end this chm viewer.

GnoCHM(已停止维护)

GnoCHM

最后的版本是 GnoCHM 0.9.11 release – Sep 2007 发布。

浏览器插件(不可行)

# 07/10/2019 我们还未找到用于查看 CHM 文档的浏览器插件。

常见问题处理

Windows 10 无法打开 CHM 文件

需要编辑注册表,以解决该问题:64位windows10,打不chm文件问题,终于解决了。。。

但是,我们选择使用 kchmviewer 工具来代开 CHM 文档。

文档格式转换

CHM to PDF

Code Yarns – Convert CHM file to PDF using chm2pdf

apt-get install chm2pdf

chm2pdf --book foobar.chm