Skip to content

XmlSource instances for bytestring incorrect for non-ascii #8

@hesselink

Description

@hesselink

The XmlSource instances for lazy and strict bytestrings are incorrect when applied to bytestrings representing something other than ASCII. For example:

>  uncons (UTF8.fromString "€")
Just ('\226',"\130\172")

This would probably be a lot better by using something like utf8-string or going through Text. That will be better than what it is now, even though it doesn't work for other encodings.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions