如何获得使用特定字符集的html post请求?

如何获得使用特定字符集的html post请求?,html,post,character-encoding,Html,Post,Character Encoding,我正在尝试使用收件人先前选择的编码发布表单。 我面临的问题是,我似乎无法正确翻译瑞典字符的编码。考虑以下形式: <form accept-charset="ISO-8859-1" action="http://httpbin.org/post" method="post" id="aForm"> <input type="hidden" name="hej" value="köttfärssås"/> <input type="submit"/>

我正在尝试使用收件人先前选择的编码发布表单。
我面临的问题是,我似乎无法正确翻译瑞典字符的编码。考虑以下形式:

<form accept-charset="ISO-8859-1" action="http://httpbin.org/post" method="post" id="aForm">
    <input type="hidden" name="hej" value="köttfärssås"/>
    <input type="submit"/>
</form>
不仅
åäö
字符混乱,这里也没有显示使用哪种编码的标题。我错过了什么

我也尝试过使用
,但没有成功

那么,我如何强制表单使用我选择的编码呢

{
  "args": {}, 
  "data": "", 
  "files": {}, 
  "form": {
    "hej": "k\ufffdttf\ufffdrss\ufffds"
  }, 
  "headers": {
    "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8", 
    "Accept-Encoding": "gzip, deflate", 
    "Accept-Language": "sv-SE,sv;q=0.8,en-US;q=0.6,en;q=0.4", 
    "Cache-Control": "max-age=0", 
    "Content-Length": "21", 
    "Content-Type": "application/x-www-form-urlencoded", 
    "Host": "httpbin.org", 
    "Origin": "null", 
    "User-Agent": "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.93 Safari/537.36"
  }, 
  "json": null, 
  "origin": "85.119.130.112", 
  "url": "http://httpbin.org/post"
}