I am developing an application with the Corona SDK. I want to send UTF-8 encoded text to the server and also decode the responses (also in UTF-8.)
Is somebody familiar with UTF-8 encoding and decoding functions that I can use?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The Lua standard library doesn’t have any functions dealing with UTF-8 characters. You’d have to use some external library (like ICU) or use an existing Lua binding for one.