Fix display problem with special characters