i am working with JSON queries. i have a bunch of european names that are coming back to me in a format i do no know how to encode. For example the name: Sébastien looks like S\U00e9bastien. How can i encode the accents, etc from my JSON results?
i am working with JSON queries. i have a bunch of european names that are coming back to me in a format i do no know how to encode. For example the name: Sébastien looks like S\U00e9bastien. How can i encode the accents, etc from my JSON results?
You have to know what encoding the server sending you the JSON info is using. Then you set your resulting string to that encoding. If it's a windows server it may be NSISOLatin1StringEncoding for instance.