09.09.2014, 16:14
1. You don't need that query, 'mysql_set_charset' is the equivalent of that query and the only correct way to do it.
2. There is no such charset as "Windows-1257", "cp1257" is the charset you want to set with 'mysql_set_charset'. Here is also a list of all valid charsets.
2. There is no such charset as "Windows-1257", "cp1257" is the charset you want to set with 'mysql_set_charset'. Here is also a list of all valid charsets.