in reply to Re^2: perltidy and UTF-8 BOM
in thread perltidy and UTF-8 BOM

Also, while JSON strings are required to not have a leading BOM, consumers *should* be able to handle it, according to the spec. However, of Perl's JSON libraries, only Cpanel::JSON::XS handles the case without exception.


The way forward always starts with a minimal test.