WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #10373, comment 25


Ignore:
Timestamp:
10/24/2015 03:41:08 PM (4 years ago)
Author:
ocean90
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #10373, comment 25

    initial v1  
    11`echo number_format( 1000, 0, ',', "\xA0" );` returns on PHP 5.6.14 and 5.5.40 `1�000` for me. Looking at http://www.fileformat.info/info/unicode/char/00a0/index.htm and it seems like the replacement should be "\xC2\xA0".
     2
     3Edit: Looking at `SimplePie_Misc::windows_1252_to_utf8()` and it looks like "\xA0" is Windows-1252 and "\xC2\xA0" is UTF-8.