In UNIMARC XSLT trasformation on page opac-detail.pl fails with software error Unsupported UNIMARC character encoding [] for XML output for UNIMARC; 100$a -> at /usr/share/perl5/MARC/File/XML.pm line 568. Error occurs if subfield 100$a is made invisible in OPAC. It appears, that after filtering (rows 92-100), record is passed to XSLT processing (rows 152-163), and it already lacks field 100$a (it was filtered before). SetUTF8Flag (row 147) does not add filtered 100$a. So right now turning 100$a OPAC visibility off leads to error when user accesses opac-detail.pl. There is no problems with opac-MARCdetail.pl and opac-ISBDdetail.pl — subfield is hidden correctly. Quick fix for those, who have this problem is to make 100$a fully visible.
This applies to 16.10+
I think this is a configuration issue. Hiding the leader in MARC21 would probably lead to similar (bad) results, as is hiding the biblionumber.