Change API charset

change API script charset to UTF-8