NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: walter.dasilva on August 07, 2017, 12:08:14 PM

Title: Unicode for \u00e1 missed !?!?!?!?
Post by: walter.dasilva on August 07, 2017, 12:08:14 PM
Hi Bruce,

I'm using data set UFT-8 and store data as Portuguese.

i'm Consuming a webservice that return portuguese words and are going fine unless for \u00e1 (á).

Could you check it please?

webservice call

https://viacep.com.br/ws/12511320/json/unicode

thanks
Title: Re: Unicode for \u00e1 missed !?!?!?!?
Post by: Bruce on August 07, 2017, 09:51:22 PM
>> I'm using data set UFT-8

I hope you mean utf-8 ?

I think the root of the problem though is that the settings you are referring to apply to web apps, not API's. I'll add that to my list though so that it'll work better in API's.

cheers
Bruce
Title: Re: Unicode for \u00e1 missed !?!?!?!?
Post by: walter.dasilva on August 08, 2017, 05:21:19 AM
H Bruce,

Yes, utf-8. was a typo.

So, how can I get around the problem?

thanks
Title: Re: Unicode for \u00e1 missed !?!?!?!?
Post by: walter.dasilva on August 08, 2017, 06:42:57 AM
Hi Bruce,

st.replace('\u00e1','á') is working for me.

Regards,