|Subject:||XML::Dumper incorrectly treats byte data|
Starting with Perl 5.6, all string scalars inside Perl have an "utf-8 bit" attached to them, indicating whether the string is to be interpreted as a string of bytes or a string of text (look for "How Do I Know Whether My String Is In Unicode?" in perluniintro). XML::Dumper should attempt to serialize and restore this bit, using a new attribute to <item> e.g. <item bytes="1">. Right now, t/11_control_characters.t seems to imply that XML::Dumper simply tries to weed out control characters, which means that objects with byte data in them cannot round trip.