[xupdate] fix MOJIBAKE of category on non UTF-8