ID:               43671
 User updated by:  svimik at mail dot ru
 Reported By:      svimik at mail dot ru
 Status:           Open
 Bug Type:         ICONV related
 Operating System: Windows Server 2003
 PHP Version:      5.2.5
 New Comment:

I have found a problem with symbol \xC2\xB4
In text editors this symbol looks like "`".
But iconv() stops converting at this symbol.
The code is below.
It returns "Soil" instead of "Soil´s Song".


Previous Comments:
------------------------------------------------------------------------

[2007-12-25 02:07:18] svimik at mail dot ru

Description:
------------
I found a problem with symbol \xC2\xB4
In text editors this symbol looks like "`".
But iconv() stops converting at this symbol.
The code is below.
It returns "Soil" instead of "Soil´s Song".

Reproduce code:
---------------
echo iconv('utf-8', 'cp1251', "Soil\xC2\xB4 Song");

Expected result:
----------------
Soil

Actual result:
--------------
Soil`s Song


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=43671&edit=1

Reply via email to