NetTalk Central

Author Topic: Unicode for \u00e1 missed !?!?!?!?  (Read 2904 times)

walter.dasilva

  • Sr. Member
  • ****
  • Posts: 314
  • SOFTVALE
    • MSN Messenger - walter@softvale.com.br
    • View Profile
    • SOFTVALE
Unicode for \u00e1 missed !?!?!?!?
« 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
Walter - SOFTVALE

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11183
    • View Profile
Re: Unicode for \u00e1 missed !?!?!?!?
« Reply #1 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

walter.dasilva

  • Sr. Member
  • ****
  • Posts: 314
  • SOFTVALE
    • MSN Messenger - walter@softvale.com.br
    • View Profile
    • SOFTVALE
Re: Unicode for \u00e1 missed !?!?!?!?
« Reply #2 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
Walter - SOFTVALE

walter.dasilva

  • Sr. Member
  • ****
  • Posts: 314
  • SOFTVALE
    • MSN Messenger - walter@softvale.com.br
    • View Profile
    • SOFTVALE
Re: Unicode for \u00e1 missed !?!?!?!?
« Reply #3 on: August 08, 2017, 06:42:57 AM »
Hi Bruce,

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

Regards,
Walter - SOFTVALE