Hello everyone, I have a problem.
About scripty httpget()
I have a URL : https://opendata.cwb.gov.tw/api/v1/rest/datastore/F-C0032-001?Authorization=CWB-BEF23F74-BCE9-4055-8F2D-BFD879239878&locationName=高雄市&elementName=
I use httpget() function.but Chinese have something trouble
EX:
高雄市’s unicode => \u9ad8\u96c4\u5e02
but the Chinese, it return unicode => \u64c3\ue9ba\ufffd\uf112\ufff\ufffd
I can’t find other function trouble shooting.
Have one meet the problem also?
Since you are using v8.1, switch to httpClient
instead of httpGet
. The older functions have been deprecated because of difficult-to-fix bugs. (Like this sort of encoding/decoding problem.)