So, there is a textfield. Input will be inserted to mysql db using PHP script.
It works fine with English. But if the input is in Chinese, it displayed as funny charaters in mysql.
Upload URL I’m using is like this
url = “http:/xxx/lib/borrow.php?bookID=” … idx…"&borrower="…nameField.text…"&contact="…contactField.text
- it works using just a string variable with Chinese characters.
local test = “我”
url = “http:/xxx/lib/borrow.php?bookID=” … idx…"&borrower="…test…"&contact="…test
- if I just execute this url in a browser, it also works.
url = "http:/xxx/lib/borrow.php?bookID=11&borrower=我&contact=我
Help help please.