use strict; use warnings; use XML::Twig; my $xml = do { local $/; ; }; #my $conv = XML::Twig::encode_convert( 'latin1'); # failed my $conv = 'latin1'; # failed my $twig = XML::Twig->new( input_filter => $conv ); $twig->parse( $xml ); __DATA__ 5CH (the BACKSLASH ý\ý in ISO-IR 6) shall