Bug #55177 [Com]: Unicode strings are cut incorrectly
| From: | irker@php.net | Date: | Tue, 16 Aug 2011 06:04:12 +0000 |
| Subject: | Bug #55177 [Com]: Unicode strings are cut incorrectly | ||
| References: | 1 | Groups: | php.webmaster |
| Request: | Send a blank email to php-webmaster+get-11931@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=55177&edit=1
ID: 55177
Comment by: irker@php.net
Reported by: irker@php.net
Summary: Unicode strings are cut incorrectly
Status: Open
Type: Bug
Package: Website problem
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
I added patch to bug ticket for web/php-master/trunk entry/event.php .
Can someone commit it? it's only one line.
Also will be fine to repair existing event records in DB.
For example: mb_strcut($sdesc, 0, 32); on every record in DB.
Previous Comments:
------------------------------------------------------------------------
[2011-08-16 05:53:54] irker@php.net
The following patch has been added/updated:
Patch Name: fix_wrong_utf_string_cut.patch
Revision: 1313474034
URL: https://bugs.php.net/patch-display.php?bug=55177&patch=fix_wrong_utf_string_cut.patch&revision=1313474034
------------------------------------------------------------------------
[2011-08-16 05:51:34] irker@php.net
The following patch has been added/updated:
Patch Name: fix_wrong_utf_string_cut.patch
Revision: 1313473894
URL: https://bugs.php.net/patch-display.php?bug=55177&patch=fix_wrong_utf_string_cut.patch&revision=1313473894
------------------------------------------------------------------------
[2011-07-11 07:18:29] irker@php.net
Description:
------------
Some non-english items are cut incorrectly.
Where: On http://php.net/ (or other, for example: docs.php.net) in
right-side
section "Training".
Expected result:
----------------
27. MySQL5.ÐÑоекÑиÑован
Actual result:
--------------
27. MySQL5.ÐÑоекÑиÑован�
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=55177&edit=1