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
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: irker@php.net
New email:
PHP Version: OS:

 

 [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)

Pull Requests

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: Thu Dec 26 16:01:31 2024 UTC