in reply to XML::XPath and character encoding

binmode