php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #55177 Unicode strings are cut incorrectly
Submitted: 2011-07-11 07:18 UTC Modified: 2011-08-16 14:46 UTC
From: irker@php.net Assigned: irker (profile)
Status: Closed Package: Website problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
 [2011-07-11 07:18 UTC] 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.Проектирован�

Patches

fix_wrong_utf_string_cut.patch (last revision 2011-08-16 13:23 UTC by irker@php.net)

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-08-16 05:51 UTC] 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-08-16 05:53 UTC] 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 06:04 UTC] irker@php.net
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.
 [2011-08-16 13:23 UTC] irker@php.net
The following patch has been added/updated:

Patch Name: fix_wrong_utf_string_cut.patch
Revision:   1313501014
URL:        https://bugs.php.net/patch-display.php?bug=55177&patch=fix_wrong_utf_string_cut.patch&revision=1313501014
 [2011-08-16 14:44 UTC] bjori@php.net
Automatic comment from SVN on behalf of bjori
Revision: http://svn.php.net/viewvc/?view=revision&revision=315028
Log: Fixed bug#55177 (Unicode strings are cut incorrectly), patch by irker@
 [2011-08-16 14:46 UTC] bjori@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: irker
 [2011-08-16 14:46 UTC] bjori@php.net
This bug has been fixed in SVN. Since the websites are not directly
updated from the SVN server, the fix might need some time to spread
across the globe to all mirror sites, including PHP.net itself.

Thank you for the report, and for helping us make PHP.net better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 03 07:01:32 2024 UTC