Skip to content

Commit ba104cd

Browse files
committed
Bump version to 2.2 (49).
1 parent f5f92d9 commit ba104cd

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
## [Unreleased]
44

5+
## [2.2][]
6+
57
* When no character set is specified or detected, fall back to Windows-1252 with replacement characters on iOS 8+ and Mac OS X 10.10+.
68
* Windows-1252 does not specify a character for every position. Previously, falling back to Windows-1252 would fail upon encountering any characters at unused positions, at which point HTMLReader would fall further back to ISO 8859-1 (which has no unused positions). As of iOS 8 and Mac OS X 10.10, NSString exposes a lossy decoding API that allows HTMLReader to fall back to Windows-1252 and replace unused positions with U+FFFD REPLACEMENT CHARACTER.
79

@@ -165,7 +167,8 @@
165167
* A new document initializer, `-[HTMLDocument initWithData:contentTypeHeader:]`, detects the character encoding as a browser would. This is the ideal initializer for HTML documents fetched over the network, or any other time when the character encoding isn't previously known. Note that HTML does not blindly use the encoding specified by the HTTP `Content-Type` header, so this initializer is still superior to parsing the `Content-Type` yourself.
166168

167169

168-
[Unreleased]: https://github.com/nolanw/HTMLReader/compare/v2.1.8...HEAD
170+
[Unreleased]: https://github.com/nolanw/HTMLReader/compare/v2.2...HEAD
171+
[2.2]: https://github.com/nolanw/HTMLReader/compare/v2.1.8...v2.2
169172
[2.1.8]: https://github.com/nolanw/HTMLReader/compare/v2.1.7...v2.1.8
170173
[2.1.7]: https://github.com/nolanw/HTMLReader/compare/v2.1.6...v2.1.7
171174
[2.1.6]: https://github.com/nolanw/HTMLReader/compare/v2.1.5...v2.1.6

Framework/Info.plist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@
1717
<key>CFBundlePackageType</key>
1818
<string>FMWK</string>
1919
<key>CFBundleShortVersionString</key>
20-
<string>2.1.8</string>
20+
<string>2.2</string>
2121
<key>CFBundleSignature</key>
2222
<string>????</string>
2323
<key>CFBundleVersion</key>
24-
<string>48</string>
24+
<string>49</string>
2525
<key>NSHumanReadableCopyright</key>
2626
<string>Public domain.</string>
2727
<key>NSPrincipalClass</key>

0 commit comments

Comments
 (0)