Closed jlouis closed 10 years ago
6> jsx:decode(jsx:encode(<<239,191,190>>)).
<<239,191,189>>
Looks like it's jsx, should we fire a bug there?
This duplicates #5
Oh, hehe, We definitely want to understand what is going on here! It seems odd it flips a bit or two in the input/output.
Also, I say we keep this one rather than #5 as it is a simpler case.
Actually, this is probably okay. It is U+FDD0 and this is a valid character which is never supposed to be in any encoding, but might be used internally. So it is just a question of fixing the utf8 generator and we should be fine.
The generator now avoids these characters.
The string
<<239, 191, 190>>
is a counterexample on the isomorphism: