Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Cannot display russian characters in left pane of chm file (bug?)

99 views
Skip to first unread message

andrus

unread,
Jun 21, 2002, 7:02:19 AM6/21/02
to
I need to display russian language chm file in non russian windows.
I caanot re-install windows for this.

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="?&#316;Ó&#332;&#310;°&#310;
ū'­Ó&#332;&#316;Õ&#274;&#310;  &#315;ū­ą&#325;­&#325;&#326; &#310;
ū'­Ó&#332;&#316; ??&#310;Õ &#315;&#316;Ó&#332;&#310;°&#310;">
<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">
?&#316;Ó&#332;&#310;°&#310; ū'­Ó&#332;&#316;Õ&#274;&#310; 
&#315;ū­ą&#325;­&#325;&#326; &#310; ū'­Ó&#332;&#316; ??&#310;Õ
&#315;&#316;Ó&#332;&#310;°&#310;</FONT>
</BODY>

Those files and chm file is also in

www.eetasoft.ee/chmprog.zip

archieve.

Jirka Kosek

unread,
Jun 21, 2002, 10:07:22 AM6/21/02
to
andrus wrote:

> <LI> <OBJECT type="text/sitemap">
> <param name="Name" value="?&#316;Ó&#332;&#310;°&#310;

> ž'­Ó&#332;&#316;Ő&#274;&#310; &#315;ž­ą&#325;­&#325;&#326; &#310;
> ž'­Ó&#332;&#316; ??&#310;Ő &#315;&#316;Ó&#332;&#310;°&#310;">


> <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
"&#65;&#66;&#67;". I had same problem for Czech and this solved problem
compeletely.

Jirka


--
-----------------------------------------------------------------
Jirka Kosek
e-mail: ji...@kosek.cz
http://www.kosek.cz

0 new messages