I try to use post data in Big5 and get the like:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="zh-TW">
The java statement is like:
Document docs = Jsoup.connect(param)
.timeout(30000)
.postDataCharset("Big5")
.data("syear","104")
.data("smonth","6")
.data("sday","30")
.data("eyear","104")
.data("emonth","7")
.data("eday","17")
.data("SectNO", "不限科別")
.data("EmpNO", "不限醫生")
.post();
How to set charset for sending data to get response?