Skip Menu |

This queue is for tickets about the Encode CPAN distribution.

Report information
The Basics
Id: 120505
Status: open
Priority: 0/
Queue: Encode

Owner: Nobody in particular
Requestors: pali [...]
Cc: alex [...]
dagolden [...]

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)

CC: dagolden [...], alex [...]
Download (untitled) / with headers
text/plain 822b
Encode::Unicode which provides UTF-16 and UTF-32 does not respect Encode::FB_WARN and Encode::WARN_ON_ERR check flags described at: Test case for invalid UTF-32-LE string "\x78\x56\x34\x12": $ perl -MEncode -e 'decode("UTF-32-LE", "\x78\x56\x34\x12", Encode::WARN_ON_ERR | Encode::LEAVE_SRC)' No output, no warning was shown. Same for Encode::FB_WARN. But if lexical warnings are enabled (-w) then warning "Code point 0x12345678 is not Unicode, may not be portable" is thrown despite if FB_WARN/WARN_ON_ERR is set or not. So module totally ignores Encode::WARN_ON_ERR flag. Related commits:

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to