PHP Bugs  
php.net | support | documentation | report a bug | advanced search | search howto | statistics | login

go to bug id or search bugs for  

Bug #47142 Russian Documentation
Submitted:17 Jan 10:33pm UTC Modified: 20 Nov 10:49am UTC
From:arhidima at gmail dot com Assigned to:bjori
Status:Feedback Category:Documentation problem
Version:5.2CVS-2009-01-17 (snap) OS:Russian Documentation
Votes:4 Avg. Score:4.5 ± 0.9 Reproduced:3 of 3 (100.0%)
Same Version:3 (100.0%) Same OS:2 (66.7%)
View/Vote Add Comment Developer Edit Submission

Have you experienced this issue?
Rate the importance of this bug to you:

[17 Jan 10:33pm 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.
[18 Jan 8:35am UTC] thegobot at gmail dot com
Thank you!
[19 Jan 8:15am 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?)
[19 Jan 8:21am UTC] bjori@php.net
No.
Encoding problems are not a Windows only issue :)

[19 Jan 8:46am 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.
[19 Jan 10:11am 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
[20 Nov 10:49am UTC] vrana@php.net
Can you please describe the problem more clearly? Images are not
available.

RSS feed | show source 

PHP Copyright © 2001-2009 The PHP Group
All rights reserved.
Last updated: Sat Nov 21 10:30:49 2009 UTC