refs #5226; fix encoding issues