mysql encoding - polish letters problem
#1

Hello,

im using this plugin (mysql_static.so):
https://sampforum.blast.hk/showthread.php?tid=56564

and i have got a problem with encoding. i have got on my ongamemodeinit:
Код:
	//Połącz z MySQL
	mysql_log(LOG_ERROR | LOG_WARNING, LOG_TYPE_HTML);
	g_SQL = mysql_connect(SQL_HOST, SQL_USER, SQL_DB, SQL_PASS);

	//send a query to recieve all the stored player data from the table
	mysql_set_charset("utf8",g_SQL);
	mysql_query(g_SQL, "SET NAMES utf8");
And i still cannot use polish letters on mysql.
I know there is a problem with samp because i have got website hosted on the same server and database and everything works fine.

Can anybody help me?
Reply
#2

Which charset you've set when you created a table in PhpMyAdmin?
Reply
#3

dzen dobry
easy fix: don't use the polish characters?
Reply
#4

Quote:
Originally Posted by vannesenn
Посмотреть сообщение
Which charset you've set when you created a table in PhpMyAdmin?
utf8_unicode_ci
Reply
#5

Some body help pls
Reply
#6

up help pls
Reply
#7

http://stackoverflow.com/a/13547308
Reply
#8

Didn't help. I think there is problem with plugin, not database. Like i said - website work fine.
Reply
#9

Help please
Reply
#10

Quote:
Originally Posted by Sielly
Посмотреть сообщение
Didn't help. I think there is problem with plugin, not database. Like i said - website work fine.
i sent a private msg, may be help..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)