Fixed it by specifying: `<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />` in the page header.