Fix text encoding issue with the page template