Updated pdisplay to enforce UTF-8 encoding