Package: libxml-xpath-perl Version: 1.13-7 File: /usr/bin/xpath I don't think there is anything the user can do to fix this. $ echo '<X>哇</X>'|xpath -e /X Found 1 nodes in stdin: -- NODE -- Wide character in print at /usr/bin/xpath line 93. <X>哇</X>