Hello everyone,
I'm using an ESP8266 that connects to api.weatherundeground.com, fetches some data, converts it to plain text and then it sends it via Serial3 to an Arduino Mega2560.
So far, so good.
But: the json from wunderground contains some UTF8 (I presume...) characters, like:
"full":"Bucureşti, România"
These characters are leaving the ESP like: BucureÅŸti
I think that the ş char is converted to 2 x ASCII chars (Å and Ÿ).
How can i convert ÅŸ to s ? (small S without comma).
I've tried with String.replace:
txt.replace("ÅŸ", "s"); and the example from Arduino Playground - Utf8ascii
but no effect.
Regards,
Ciprian