Right pane of chm file is OK.
Left pane shows garbage characters instead of russian letters.
Is this HTML Help runtime bug ?
Steps to reproduce (must have windows russian fonts installed).
Create a chm file using the following files:
--------- test.hhp file contains:
[OPTIONS]
Binary Index=No
Compatibility=1.1 or later
Compiled file=test.chm
Contents file=test.hhc
Default Font=,8,204
Display compile progress=No
Language=0x419 Russian
[INFOTYPES]
-------- test.hhc file contains:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<HTML>
<HEAD>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1251">
<meta http-equiv="Content-Language" content="ru">
<!-- Sitemap 1.0 -->
</HEAD><BODY>
<OBJECT type="text/site properties">
<param name="Font" value=",8,204">
</OBJECT>
<UL>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="?ļÓŌͰĶ
ū'ÓŌļÕĒĶ ĻūąŅŅņ Ķ
ū'ÓŌļ ??ĶÕ ĻļÓŌͰĶ">
<param name="Local" value="test.htm">
</OBJECT>
</UL>
</BODY></HTML>
-------- test.htm file contains:
<HTML>
<HEAD>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1251">
<meta http-equiv="Content-Language" content="ru">
</HEAD>
<BODY>
<BODY>
HTML belp bug:
<br>
<br>
Left pane does not show russian characters in chm file
while the right pane shows them.
<br>
<br>
This is russian text:
<br>
<br>
<FONT FACE="Times New Roman">
?ļÓŌĶ°Ķ ū'ÓŌļÕĒĶ
ĻūąŅŅņ Ķ ū'ÓŌļ ??ĶÕ
ĻļÓŌͰĶ</FONT>
</BODY>
Those files and chm file is also in
archieve.
> <LI> <OBJECT type="text/sitemap">
> <param name="Name" value="?ļÓŌͰĶ
> ž'ÓŌļŐĒĶ ĻžąŅŅņ Ķ
> ž'ÓŌļ ??ĶŐ ĻļÓŌͰĶ">
> <param name="Local" value="test.htm">
> </OBJECT>
HTML Help doesn't like character reference and entities in project and
ToC files. You must use direct cyrillic characters (in windows-1251
encoding) here -- e.g. use something like "ABC" instead of
"ABC". I had same problem for Czech and this solved problem
compeletely.
Jirka
--
-----------------------------------------------------------------
Jirka Kosek
e-mail: ji...@kosek.cz
http://www.kosek.cz