title: JSoup Post Request encoding
body: <p>I started using JSoup to handle my HTTP-requests, now I've got a question I can't seem to find the answer to.</p>
  
  <p>This is my Code used for the connection, which works fine:</p>
  
  <pre><code>Jsoup.connect(uploadsite)
  .cookies(cookies)urlencoded;charset=UTF-8")
              .data("Eintrag[]" , panel.teingangsdatum.getText(), "Ticket[]", panel.tticketnr.getText(),
              "DatumA[]", datumteile[2], "DatumB[]", datumteile[1], "DatumC[]", datumteile[0],
              "UhrzeitA[]", panel.tanfangsstunde.getText(), "UhrzeitB[]", panel.tanfangsminute.getText(),
              "UhrzeitC[]", panel.tendstunde.getText(), "UhrzeitD[]", panel.tendminute.getText(),
              "KundeA[]", kdname, "KundeB[]", panel.tkdnr.getText(), "HVT[]", 
              panel.thvt.getText(),
              "Techniker[]", "0", "Art[]", ticketart)
              .method(Method.POST)
              .execute();
  </code></pre>
  
  <p>My problem is that in order to send the german umaults("äÄöÖüÜ"), I'll need to send the content with <code>application/x-www-form-urlencoded</code> as Content-Type. </p>
  
  <p>Where can I see what encoding is used by jsoup and how do I change the encoding, or is it sufficient to just add <code>.header("Content-Type","application/x-www-form-urlencoded;charset=UTF-8")</code>?</p>