mysql encoding
#1

Hello guys,

i'm using this mysql plugin: https://sampforum.blast.hk/showthread.php?tid=56564

In ongamemodeinit i have:
Код:
	mysql_set_charset("utf8",g_SQL);
	mysql_query(g_SQL, "SET NAMES utf8");
MySql tables uset utf8 too. And when I use polish letters from mysql i still have "?"

Anybody can help?
Reply
#2

"There are several systems for encoding the Polish alphabet for computers. All letters of the Polish alphabet are included in Unicode, and thus Unicode-based encodings such as UTF-8 and UTF-16 can be used. The Polish alphabet is completely included in the Basic Multilingual Plane of Unicode. The standard 8-bit character encoding for the Polish alphabet is ISO 8859-2 (Latin-2), although both ISO 8859-13 (Latin-7) and ISO 8859-16 (Latin-10) encodings include glyphs of the Polish alphabet. Microsoft's format for encoding the Polish alphabet is Windows-1250."
- Wikipedia [https://en.wikipedia.org/wiki/Polish_alphabet]
Reply
#3

Tried all of them, same problem.
Reply
#4

I still have got same problem, can anybody help?
Reply
#5

Still need help.
Reply
#6

you can find help outside (research...)

i wore on my gamemode cp1250

to encode texts in german language too.
Reply
#7

Код:
Log("17:15:21","CMySQLConnection::SetCharset",1,"error 2019: Can't initialize character set cp1250_general_ci (path: /usr/share/mysql/charsets/)",0);
Log("17:15:21","CMySQLQuery::Execute",1,"(error #1115) Unknown character set: 'cp1250_general_ci'",0);
Log("17:15:21","CMySQLConnection::SetCharset",1,"error 2019: Can't initialize character set cp1250_general_ci (path: /usr/share/mysql/charsets/)",1);
Log("17:15:21","CMySQLConnection::SetCharset",1,"error 2019: Can't initialize character set cp1250_general_ci (path: /usr/share/mysql/charsets/)",1);
Log("17:15:21","CMySQLConnection::SetCharset",1,"error 2019: Can't initialize character set cp1250_general_ci (path: /usr/share/mysql/charsets/)",1);
ps.
i use mysql_static.so
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)