package encoding
import "miniflux.app/reader/encoding"
Index ¶
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 encoding specified only in Content-Type header and not in XML document - Feeds with encoding specified in both places - Feeds with encoding specified only in XML document and not in HTTP header - Feeds with wrong encoding defined and already in UTF-8
Source Files ¶
encoding.go
- Version
- v1.0.46 (latest)
- Published
- Jul 22, 2023
- Platform
- linux/amd64
- Imports
- 4 packages
- Last checked
- 2 weeks ago –
Tools for package owners.