[erlang-questions] [erlang-bugs] xmerl and unicode data

Ali Sabil ali.sabil@REDACTED
Mon Oct 22 17:23:28 CEST 2012


>From my testing, xmerl doesn't seem to accept iolists

On Mon, Oct 22, 2012 at 4:58 PM, Anthony Ramine <n.oxyde@REDACTED> wrote:
> It isn't weird. It is an iolist, a nested list of bytes and binaries,
> not a list of characters. As the encoding of an XML document can only
> be known by actually reading it, why should the input have some predefined
> charset embedded in its type?
>
> Regards,
>
> --
> Anthony Ramine
>
> Le 22 oct. 2012 à 16:27, Patrik Nyblom a écrit :
>
>> Me too - it's really weird. Rather the input format is weird, lists of UTF-8 characters are usually considered "broken". I would wrap this in a function taking a proper Unicode list as a parameter...
>



More information about the erlang-questions mailing list