Overview
Comment: | Use U+FFFF for invalid characters
This used to be U+FFFD, but if a character is not assigned in an |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
a9f85ba3b1012db9f6a5cb837ec11998 |
User & Date: | js on 2017-01-11 03:49:27 |
Other Links: | manifest | tags |
Context
2017-01-11
| ||
04:22 | Add Windows-1251 encoding check-in: 0f88ccfb04 user: js tags: trunk | |
03:49 | Use U+FFFF for invalid characters check-in: a9f85ba3b1 user: js tags: trunk | |
03:38 | OFHTTPClient: Make sure the path is never nil check-in: fa2b1e6f68 user: js tags: trunk | |
Changes
Modified src/OFString_UTF8.m from [293372453e] to [38f6296657].
︙ | |||
316 317 318 319 320 321 322 | 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 | - + | if (!(cString[i] & 0x80)) { _s->cString[j++] = cString[i]; continue; } character = table[(uint8_t)cString[i] - 128]; |
︙ |
Modified src/windows_1252.m from [836478cdf6] to [4e7a49cc4a].
︙ | |||
15 16 17 18 19 20 21 | 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | - - - - + + + + | */ #include "config.h" #import "OFString.h" const of_char16_t of_windows_1252[128] = { |
︙ |