Differences From Artifact [2832b02ca4]:
- File src/OFUTF8String.m — part of check-in [6e79f005c4] at 2024-08-24 22:20:09 on branch 1.1 — OFString: Fix converting from some encodings (user: js, size: 28456) [annotate] [blame] [check-ins using] [more...]
To Artifact [3e5753e6f2]:
- File
src/OFUTF8String.m
— part of check-in
[cacfcf1b9d]
at
2024-08-24 23:43:39
on branch 1.1
— Don't assume all custom string classes use Unicode
Initially, isUTF8 was set to true for all custom string classes because
having isUTF8 set to false was merely an optimization. However,
-[OFUTF8String cStringWithEncoding: OFStringEncodingASCII] throws an
exception when isUTF8 is true. (user: js, size: 28630) [annotate] [blame] [check-ins using] [more...]
︙ | |||
444 445 446 447 448 449 450 | 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 | - - - - - - - + + + + + + + + + + + + + + | { self = [super init]; @try { _s = &_storage; _s->cStringLength = string.UTF8StringLength; |
︙ |