Fixed some encoding issue in the editor textarea