Overview
Comment: | Don't prepend a BOM when using -[unicodeString]. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
dcf50eb53ac9f71b272d24d3eecbae68 |
User & Date: | js on 2011-10-31 21:20:10 |
Other Links: | manifest | tags |
Context
2011-10-31
| ||
22:01 | Assume big endian encoding for UTF16 if none is specified and no BOM. check-in: f412995e6a user: js tags: trunk | |
21:20 | Don't prepend a BOM when using -[unicodeString]. check-in: dcf50eb53a user: js tags: trunk | |
21:19 | Fix a missing const in tests. check-in: 3dc09e8fac user: js tags: trunk | |
Changes
Modified src/OFString.m from [7ae1259373] to [37713bd91c].
︙ | |||
1873 1874 1875 1876 1877 1878 1879 | 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 | - + - - | - (const of_unichar_t*)unicodeString { OFObject *object = [[[OFObject alloc] init] autorelease]; of_unichar_t *ret; size_t i, j; |
︙ |
Modified tests/OFStringTests.m from [9f38334afc] to [4c3630eafa].
︙ | |||
377 378 379 380 381 382 383 | 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 | - + | EXPECT_EXCEPTION(@"Detect out of range in -[hexadecimalValue]", OFOutOfRangeException, [@"0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF" @"0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF" hexadecimalValue]) TEST(@"-[unicodeString]", (ua = [@"fööbär🀺" unicodeString]) && |
︙ |