# Httpget script unicode is improperly

**URL:** <https://forum.inductiveautomation.com/t/httpget-script-unicode-is-improperly/62261>\
**Category:** Ignition\
**Tags:** ignition81\
**Created:** [July 25, 2022, 8:21am UTC](https://forum.inductiveautomation.com/t/httpget-script-unicode-is-improperly/62261 "2022-07-25T08:21:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pofer\_Wang](https://avatars.discourse-cdn.com/v4/letter/p/f4b2a3/32.png) [@Pofer\_Wang](https://forum.inductiveautomation.com/u/Pofer_Wang)\
**Post date:** [July 25, 2022, 8:21am UTC](https://forum.inductiveautomation.com/t/httpget-script-unicode-is-improperly/62261/1 "2022-07-25T08:21:40Z")

</div>

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=](https://opendata.cwb.gov.tw/api/v1/rest/datastore/F-C0032-001?Authorization=CWB-BEF23F74-BCE9-4055-8F2D-BFD879239878&locationName=%E9%AB%98%E9%9B%84%E5%B8%82&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?

 ![1658736265075](https://us1.discourse-cdn.com/inductiveautomation/original/3X/3/4/34e6c41704d0daec804520ba22a5d98249bbe52b.jpeg)

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [July 25, 2022, 11:50am UTC](https://forum.inductiveautomation.com/t/httpget-script-unicode-is-improperly/62261/2 "2022-07-25T11:50:35Z")

</div>

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.)

---

<div class="post-metadata">

**Author:** ![Pofer\_Wang](https://avatars.discourse-cdn.com/v4/letter/p/f4b2a3/32.png) [@Pofer\_Wang](https://forum.inductiveautomation.com/u/Pofer_Wang)\
**Post date:** [July 26, 2022, 2:50am UTC](https://forum.inductiveautomation.com/t/httpget-script-unicode-is-improperly/62261/3 "2022-07-26T02:50:43Z")

</div>

Thank you!!  
I do it!!
