Im playing around with googles translate API on the phone but for certain translations, it dosent seem like the string encoding is working properly.
For example when i send in "How is the weather today" and translate it in french I get back
Comment est le temps aujourd\u0026#39;hui
this "\u0026#39;" is supposed to be an apostrophe so the above response should look like this
Comment est le temps aujourd'hui
Why is this happening? Im encoding the response data received as an NSUTF8 encoded string.
Should I be using a different encoding?
Thanks
For example when i send in "How is the weather today" and translate it in french I get back
Comment est le temps aujourd\u0026#39;hui
this "\u0026#39;" is supposed to be an apostrophe so the above response should look like this
Comment est le temps aujourd'hui
Why is this happening? Im encoding the response data received as an NSUTF8 encoded string.
Should I be using a different encoding?
Thanks