|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #47142 Russian Documentation
Submitted: 2009-01-17 22:33 UTC Modified: 2009-11-28 01:00 UTC
Avg. Score:4.5 ± 0.9
Reproduced:3 of 3 (100.0%)
Same Version:3 (100.0%)
Same OS:2 (66.7%)
From: arhidima at gmail dot com Assigned: bjori (profile)
Status: No Feedback Package: Documentation problem
PHP Version: 5.2CVS-2009-01-17 (snap) OS: Russian Documentation
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2009-01-17 22:33 UTC] arhidima at gmail dot com
Sorry, I do not speak in English. 
I use a translator Google. 
Russian documentation in CHM format ( has a "pointer" incorrect coding (see screenshot: / 5410/screennokn9.jpg). 
I corrected and changed CHM file is encoded correctly displayed (see screenshot 
I would like, what would you have published an updated version of the documentation in Russian to PHP in CHM format on the site. 
Corrected version of the file is located here:

Reproduce code:

Expected result:

Actual result:
Now, documentation in Russian is displayed correctly.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2009-01-18 08:35 UTC] thegobot at gmail dot com
Thank you!
 [2009-01-19 08:15 UTC] erema at blew dot ru
Good job, much easier to use, but fulltext search still shows results in UTF8 ("krakozyabry"). So there are 2 ways: reencode _whole_ russian html help from UTF8 to WIN1251, or do not use Windows(tm) (i guess, linux CHM readers are not affected with this encoding problem, am i right?)
 [2009-01-19 08:21 UTC]
Encoding problems are not a Windows only issue :)

 [2009-01-19 08:46 UTC] arhidima at gmail dot com
I know about the problem with the search, but it is not disturbed me. 
I laid out here, that would verify whether or not to CHM documentation for anyone except me :-) 
I will try to correct the defect in the search. 
I'm just the first time compiling CHM file.
 [2009-01-19 10:11 UTC]
Rather then just creating a one-time CHM file, please look into the core problem so the weekly CHM files will be OK.

To generate the CHM follow these steps (Note: You will need PHP5.3 for this to work,
cvs login
(password is phpfi, see
cvs co phpdoc-ru
cd phpdoc-ru
php configure.php

pear channel-discover
pear install

phd -d .manual.xml -f xhtml -t chmsource --lang ru
hhc.exe chm/php_manual_ru.hhp

Now you should have the generated (broken) CHM file.

To fix it, you will have to edit PhD (which is responsible for the generation). 
Checkout the (PEAR-install-path)phd/themes/php/chmsource.php

On line#142 you see "ru" => .. I suspect these values have to bee tweaked in order to fix the core problem.


 [2009-11-20 10:49 UTC]
Can you please describe the problem more clearly? Images are not available.
 [2009-11-28 01:00 UTC] doc-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sun Jun 13 00:01:24 2021 UTC