php.net |  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
Votes:4
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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
13 - 7 = ?
Subscribe to this entry?

 
 [2009-01-17 22:33 UTC] arhidima at gmail dot com
Description:
------------
Sorry, I do not speak in English. 
I use a translator Google. 
Russian documentation in CHM format (http://www.php.net/get/php_manual_ru.chm/from/a/mirror) has a "pointer" incorrect coding (see screenshot: http://img178.imageshack.us/img178 / 5410/screennokn9.jpg). 
I corrected and changed CHM file is encoded correctly displayed (see screenshot http://img178.imageshack.us/img178/6863/screenyespp1.jpg). 
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: http://rapidshare.com/files/185112277/php_manual_ru.chm.html

Reproduce code:
---------------
No

Expected result:
----------------
Cool. 

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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

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] bjori@php.net
No.
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] bjori@php.net
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, http://windows.php.net/snapshots/):
cvs -d:pserver:cvsread@cvs.php.net/repository login
(password is phpfi, see http://php.net/anoncvs).
cvs -d:pserver:cvsread@cvs.php.net/repository co phpdoc-ru
cd phpdoc-ru
php configure.php

pear channel-discover doc.php.net
pear install doc.php.net/phd-beta

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.


-Hannes

 [2009-11-20 10:49 UTC] vrana@php.net
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-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 14:01:30 2024 UTC