mysql encoding - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: mysql encoding (
/showthread.php?tid=612840)
mysql encoding -
Sielly - 22.07.2016
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?
Re: mysql encoding -
Alpay0098 - 22.07.2016
"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]
Re: mysql encoding -
Sielly - 22.07.2016
Tried all of them, same problem.
Re: mysql encoding -
Sielly - 26.07.2016
I still have got same problem, can anybody help?
Re: mysql encoding -
Sielly - 02.08.2016
Still need help.
Re: mysql encoding -
Danzou - 02.08.2016
you can find help outside (research...)
i wore on my gamemode cp1250
to encode texts in german language too.
Re: mysql encoding -
Sielly - 03.08.2016
Код:
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