[wp-trac] [WordPress Trac] #10373: Proper number formatting related to i18n
WordPress Trac
noreply at wordpress.org
Sat Oct 24 15:34:47 UTC 2015
#10373: Proper number formatting related to i18n
------------------------------+-----------------------------
Reporter: honza.skypala | Owner: SergeyBiryukov
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 4.4
Component: I18N | Version: 2.8.1
Severity: normal | Resolution:
Keywords: has-patch commit | Focuses:
------------------------------+-----------------------------
Changes (by ocean90):
* status: closed => reopened
* resolution: fixed =>
Comment:
`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".
--
Ticket URL: <https://core.trac.wordpress.org/ticket/10373#comment:25>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list