Menu

#30 character set issue

v1.7
open
nobody
None
5
2014-12-06
2014-12-06
Victory
No

My html file gets created by PanDoc. It adds the following line within the <head> tag to indicate that the character set is UTF-8.

<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>

When I create Chm file from the html file using ChmProcessor, somehow the character set does not get propertly. As a result, in the Help Viewer, the string "Let's" gets displayed wrongly like "Let’s".

However, weird thing is the following. If I take my html file and re-save it with Notepad without me doing any change, and then run ChmProcessor, the resulting chm file does not have that problem. That is, the characters get displayed properly in that case.

Now, I wonder why re-saving the html file with Notepad before running ChmProcessor avoids the problem.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.