jonas-schievink/xml-rpc-rs

Support non-UTF-8 encodings

Aperta

#43 aperta il 7 lug 2018

 (0 commenti) (0 reazioni) (0 assegnatari)Rust (21 fork)github user discovery
enhancementhelp wanted

Metriche repository

Star
 (27 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

We're currently using xml-rs to parse XML, which only supports UTF-8 (https://github.com/netvl/xml-rs/issues/10).

To do this, either xml-rs needs to get support for other encodings or we have to switch to quick-xml which does support non-UTF-8 documents (but needs some work - it needs to be better tested and doesn't support encodings that aren't ASCII-compatible).

Note that the XML-spec mandates UTF-8 and UTF-16 support, so xml-rs is technically non-compliant (as is this crate).

Guida contributor