Encoding parameters to UTF-8