Documentation ¶
Overview ¶
Package encoding handles workarounds to deal with encoding edge cases found into the wild.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CharsetReader ¶
CharsetReader is used when the XML encoding is specified for the input document.
The document is converted in UTF-8 only if a different encoding is specified and the document is not already UTF-8.
Several edge cases could exists:
- Feeds with charset specified only in Content-Type header and not in XML document - Feeds with charset specified in both places - Feeds with charset specified only in XML document and not in HTTP header
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.