Differences From Artifact [469c7272f8]:
- File
src/OFXMLParser.m
— part of check-in
[adbf31f2f9]
at
2017-01-15 04:32:16
on branch trunk
— Add codepage 858
This only differs from codepage 850 by a single code point. (user: js, size: 25175) [annotate] [blame] [check-ins using]
To Artifact [a54e16b4ae]:
- File src/OFXMLParser.m — part of check-in [238d47a1d6] at 2017-01-17 01:20:30 on branch trunk — Allow iso_8859-* spellings for encoding (user: js, size: 25260) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
462 463 464 465 466 467 468 | } if ([attribute isEqual: @"encoding"]) { [value lowercase]; if ([value isEqual: @"utf-8"]) _encoding = OF_STRING_ENCODING_UTF_8; | | > | > | 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 | } if ([attribute isEqual: @"encoding"]) { [value lowercase]; if ([value isEqual: @"utf-8"]) _encoding = OF_STRING_ENCODING_UTF_8; else if ([value isEqual: @"iso-8859-1"] || [value isEqual: @"iso_8859-1"]) _encoding = OF_STRING_ENCODING_ISO_8859_1; else if ([value isEqual: @"iso-8859-15"] || [value isEqual: @"iso_8859-15"]) _encoding = OF_STRING_ENCODING_ISO_8859_15; else if ([value isEqual: @"windows-1251"] || [value isEqual: @"cp1251"] || [value isEqual: @"cp-1251"]) _encoding = OF_STRING_ENCODING_WINDOWS_1251; |
︙ | ︙ |