Piorun Posted November 10, 2013 Share Posted November 10, 2013 Hi guys. Today i have problem with polish letters like "ąźćż...". I mean i want to for ex. put into column value with polish letters (via phpMyAdmin) and read it on MTA Server. On MySQL i set character set on "utf8_unicode_ci" and when im using mysql_connect and then mysql_set_character_set (1st parametr set to "utf8_unicode_ci") still on polish letters i have "?". What should i do? Here's code: local mysql = mysql_connect("*****", "*****", "*****", "*****") mysql:set_character_set("utf8_unicode_ci") Link to comment
Piorun Posted November 10, 2013 Author Share Posted November 10, 2013 Ok i repaired it. I can't use something like that: mysql:... but i must use mysql_set_character_set(mysql, ...) It only works on query result Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now