p5-encode icon indicating copy to clipboard operation
p5-encode copied to clipboard

Noncharacters should be allowed

Open Grinnz opened this issue 4 years ago • 2 comments

According to Corrigendum #9, noncharacters (the values U+nFFFE and U+nFFFF (where n is from 0 to 10^16) and the values U+FDD0..U+FDEF) are permanently reserved but should be allowed in interchange.

These codepoints currently are not successfully encoded or decoded - by default, they are replaced by replacement characters (at least for UTF-8).

Grinnz avatar Feb 15 '21 01:02 Grinnz

Related: https://github.com/chansen/p5-unicode-utf8/issues/7

Grinnz avatar Feb 15 '21 01:02 Grinnz

Probably, this behavior should be an option, regardless of what's the default

Leont avatar Feb 05 '22 13:02 Leont