I have a flash app and a textfield in it. I can change locale on the system tray and type unicode chracters, for example with windows -1251 encoding. If I use jquery to send the unicoded text to save to database, how does it get there, as windows-1251 encoded or other encoding, like UTF-8?

Or lets just say with which encoding it get to jquery at first?

有帮助吗?

解决方案

All strings have UTF8 encoding, so if you get text of textfield it'll have UTF8 encoding

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top