Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-6537

Multibyte search bug with mbstring_regex

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Resolution: Fixed
    • 3.0.RC7
    • 3.0.0
    • Search
    • None
    • PHP Environment:
      Database:

    Description

      Search for some words with multibytes fail.

      Search :
      $split_keywords = mb_ereg_replace('([^\w\'*"()])', '\\1
      1', str_replace('\'\'', '\' \'', trim($split_keywords)));

      Add before:
      mb_regex_encoding('UTF-8');

      fixes this problem.

      Attachments

        Activity

          People

            DavidMJ DavidMJ
            dokster dokster
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: