Skip to content

Support arbitrary encodings for XML documents #10

Closed
@Pytheas01

Description

@Pytheas01

I get the following error messages when I read a DOS-UTF8 XML file in a Rust program that uses rust-xml, on Windows 7:

Running `target\rust-xml-w`
Error: 1:2: Unexpected characters outside the root element: 

If I convert the XML file to ANSI LATIN 1, the issue disappears.

My version of rustc is

rustc 0.12.0-pre-nightly (0bdac78da 2014-09-01 21:31:00 +0000)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions