Skip to content

Supported text encodings? #241

@gavinwy

Description

@gavinwy

Per the W3C XML 1.0 Standard, it says that all XML parsers have to support at minimum UTF-8 and UTF-16 support. I'm not seeing a list of supported encodings in the docs, and figuring it out by reading the source code directly is a bit beyond me at the moment, so I'm wondering what, if any other encodings beyond UTF-8 and UTF-16 are supported? I'm also curious as to how serde-xml-rs would react if given UTF-16 content that didn't have a BOM; Would it accept such content or error out? I know that the XML Standard requires XML in UTF-16 to use a BOM, but in practice that doesn't always happen.

Thanks very much!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions