defaults to UTF-8 (http)