Differences From Artifact [48ca6830d9]:
- File
src/OFString_UTF8.m
— part of check-in
[3912669d91]
at
2013-08-12 10:09:07
on branch trunk
— Add codepage 437.
This is required for ZIP files, which can use either codepage 437 or
Unicode. (user: js, size: 30410) [annotate] [blame] [check-ins using]
To Artifact [9860c5f0d1]:
- File src/OFString_UTF8.m — part of check-in [73ae6fa60f] at 2013-08-13 10:39:57 on branch trunk — Add a few more instancetypes. (user: js, size: 30438) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
164 165 166 167 168 169 170 | [self release]; @throw e; } return self; } | | | | | 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 | [self release]; @throw e; } return self; } - (instancetype)OF_initWithUTF8String: (const char*)UTF8String length: (size_t)UTF8StringLength storage: (char*)storage { self = [super init]; @try { if (UTF8StringLength >= 3 && !memcmp(UTF8String, "\xEF\xBB\xBF", 3)) { UTF8String += 3; |
︙ | ︙ |