java 透過header匯出csv檔亂碼
try{
context.response().putHeader("Content-type", "text/csv; charset=UTF-8")
.putHeader("Content-Disposition", "attachment;filename="+csv_name+".csv;charset=utf-8")
.putHeader("write","\ufeff")
.end(string);
}catch (Exception e){
e.printStackTrace();
}