utf8_decode bug

Bug #286878 reported by sancelot
4
Affects Status Importance Assigned to Milestone
php5 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: php5

release ubuntu intrepid beta
 php5 5.2.6-2ubuntu4

 does not decode properly the right single quote rsquot char (')

 utf8 "\xE2\x80\x99" code is translated to question mark (?)

Revision history for this message
Russell Smith (mr-russ) wrote :

I can confirm this bug in hardy 8.04

postgresql gives correct output;

mr-russ@bob:~$ psql -c "select E'\xE2\x80\x99'::varchar"
 varchar
---------
 ’

php does produces ? as in the report.

Changed in php5:
status: New → Confirmed
Revision history for this message
Chuck Short (zulcss) wrote :

Please re-open if you can reproduce this on more recent versions of ubuntu.

Thanks
chuck

Changed in php5 (Ubuntu):
status: Confirmed → Won't Fix
Revision history for this message
sancelot (sancelot) wrote :

works fine in php5-5.3.3-1ubuntu9

Revision history for this message
sancelot (sancelot) wrote :

OUPS, SORRY DOES NOT WORK IN PHP5-5.3.3-1ubuntu9 !!!!!!!!!!!!!!

print utf8_decode("\xE2\x80\x99"); -> ?

Revision history for this message
sancelot (sancelot) wrote :

Ah ah ah how can I reopen it ????

Chuck Short (zulcss)
Changed in php5 (Ubuntu):
status: Won't Fix → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.