multibyte search highlighting

Issue #363 new
Erinome created an issue

Doing preg_split at index.php:255 when working with multibyte (non-latin) strings returns garbage that is being dropped below in htmlencode call at line 263, so the highlighted columns in search results are almost completely broken.

The quick fix is to add 'u' modifier to $regex variable.

Comments (2)

  1. phpLiteAdmin repo owner

    Thank you for the report. I just changed this with commit 181a35f I also fixed some other parts where multibyte characters where not handled right. This fixes this issue, but lots of other places remain where multibyte support is not optimal.

    Edit: mentioned the wrong commit, corrected now

  2. Log in to comment