title: Setting charset in post request on nodejs
body: <p>I want to send post form data to some website using euc-kr charset by request module. And I use iconv-lite module too because nodejs supported charset isn't plenty. </p>
  
  <p>Anyway, The website use <code>euc-kr</code> charset, So I have to handle form data's encoding(Node's default charset is utf-8). But it dosen't work well, I tried to change some options so many times but I stucked untill now, So could you tell me some hints.?</p>
  
  <pre><code>// added module request, iconv-lite(extendNodeEncoding) already.
  
  function postDocumentForm() {
  //Lets configure and request
      request({
          url: 'http://finance.naver.com/item/board_act.nhn', //URL to hit
          headers: { 
              'Content-Type': 'content=text/html; charset=euc-kr'
          },
          method: 'POST',
          encoding: 'euc-kr',
          form: {
              code:'000215',
              mode: 'write',
              temp: '',
              keyCount: '0',
              title: "폼 데이터 중 일부가 한글일 때",
              opinion: '0',
              body:'인코딩이 제대로 되지 않고 있음!'
          }
      }, function (error, response, body) {
          if (error) {
              console.log(error);
          } else {
              iconv.undoExtendNodeEncodings();
              console.log(response.statusCode, response.body);
  
  
          }
      });
  
  }
  </code></pre>
  
  <p>And here is <strong>result</strong>, odd characters.</p>
  
  <p>I tried : </p>
  
  <pre><code>euc-kr to binary 
  euc-kr to null 
  euc-kr to utf-8
  delete encoding option 
  delete request header 
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/1MXKK.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/1MXKK.png" alt="result is ????@?@@? "></a></p>