php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #66432 The chm document can not be searched
Submitted: 2014-01-07 10:27 UTC Modified: 2015-06-17 00:40 UTC
From: 232445703 at qq dot com Assigned: mumumu (profile)
Status: Closed Package: Documentation problem
PHP Version: 5.4.23 OS: windows 8
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: 232445703 at qq dot com
New email:
PHP Version: OS:

 

 [2014-01-07 10:27 UTC] 232445703 at qq dot com
Description:
------------
---
From manual page: http://www.php.net/index
---
Hello.I change my php version to 5.4.23 and i download new chinese help chm files,But i find a problem,I can not use search,No matter what i input,It always tell me can not find,I have download other version,But it is the same problem.It is the same at windows 7 

Test script:
---------------
no script

Expected result:
----------------
Let me search please!

Actual result:
--------------
It is a bug!

Patches

helpfileproblem (last revision 2014-01-07 10:32 UTC by 232445703 at qq dot com)

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2014-01-23 10:25 UTC] mumumu@php.net
-Assigned To: +Assigned To: mumumu
 [2014-01-24 23:43 UTC] mumumu@php.net
-Status: Assigned +Status: Feedback
 [2014-01-24 23:43 UTC] mumumu@php.net
Thank you for your report. It should be fixed.
Would you see if you can search the following files correctly?

https://dl.dropboxusercontent.com/u/15537366/chm/php_manual_zh.chm
https://dl.dropboxusercontent.com/u/15537366/chm/php_enhanced_zh.chm
 [2014-01-25 00:40 UTC] mumumu@php.net
Automatic comment from SVN on behalf of mumumu
Revision: http://svn.php.net/viewvc/?view=revision&revision=332729
Log: - Fixed bug #66409 #66432
 - multibyte fulltext search did not work.
 - index was garbled in Chinese Simplified locale.
 [2014-12-30 10:42 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 [2015-06-10 11:53 UTC] cmb@php.net
-Status: No Feedback +Status: Re-Opened
 [2015-06-10 11:53 UTC] cmb@php.net
In bug #69790 it has been reported that the search doesn't work
for most recent CHM files. The search works for me in the German
and simplified Chinese CHMs, on a machine with a German locale.

The fix above seems to be erroneous. There is now a check for
MULTIBYTE_SEARCH in build-chms.php, but MULTIBYTE_SEARCH is always
defined as FALSE in build-chms-config.php, so
$multibyte_search_enabled is always false, so that the new code
paths in build-cms.php will never be executed.

Yoshinari, can you please have a look at the issue?
 [2015-06-17 00:18 UTC] mumumu@php.net
Automatic comment from SVN on behalf of mumumu
Revision: http://svn.php.net/viewvc/?view=revision&revision=336983
Log: - changed to set MULTIBYTE_SEARCH true, pointed out on #66432
 - I changed it on my build box only and not committed, sorry.
 [2015-06-17 00:40 UTC] mumumu@php.net
-Status: Re-Opened +Status: Closed
 [2015-06-17 00:40 UTC] mumumu@php.net
cmb, thank you for your notification and sorry for late response.

> The search works for me in the German and simplified Chinese CHMs, on a machine with a German locale.

It works for me in several CHMs on a machine with Japanese locale.
We cannot reproduce #69790 bug. 

It seems that CHM multibyte search itself works correctly because I 
used to set MULTIBYTE_SEARCH "true" on my CHM build box only.

> The fix above seems to be erroneous.

Yes. fixed it on svn repository code now.
 [2020-02-07 07:30 UTC] phpdocbot@php.net
Automatic comment on behalf of mumumu
Revision: http://git.php.net/?p=doc/base.git;a=commit;h=2cc1f794dc0a2881d44fbe4219fb7eb54ffe15f6
Log: - Fixed bug #66409 #66432  - multibyte fulltext search did not work.  - index was garbled in Chinese Simplified locale.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 17:01:29 2024 UTC