SA-MP Forums Archive
Plugin error || Bad encoding - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Plugin error || Bad encoding (/showthread.php?tid=611031)



Plugin error || Bad encoding - VaReNiX - 01.07.2016

Hi. Recompile the plugin (written for Windows) on Linux. Use sampgdk and mysql connector for C library. Compiles successfully but at server startup, writes about the not found the plugins. But, the name of the plugin is bad, bad encoding. Maybe someone knows what could it be? All the files from /sampgdk/lib and /mysql-connector/lib installed in /usr/lib. (this is not libsampgdk.*, libmysql.*)

notapadqq, LOWriter, gedit:

---------------------------------------------------------------------------------------------------------------

---------------------------------------------------------------------------------------------------------------



Re: Plugin error || Bad encoding - NewbProgrammer - 02.07.2016

There's a .a file that doesn't like you, is my guess.


Re: Plugin error || Bad encoding - VaReNiX - 02.07.2016

Quote:
Originally Posted by NewbProgrammer
Посмотреть сообщение
There's a .a file that doesn't like you, is my guess.
Possible. But I hooked it up (lib/libmysqlclient.a) and installed all the libraries.
I think these plugins't connect to the database. In the terminal says: "'@'localhost' (using password: YES)er 'root". But the data is correct, exactly!

Problem is current!



Re: Plugin error || Bad encoding - GWMPT - 02.07.2016

Install the locales on the server, it might work afterwards.

Use the following command:
Код:
locale-gen <language><.<charset>>
Example utilization:
Код:
locale-gen pt_PT
# or
locale-gen pt_PT.UTF-8
The first command will generate the locale pt_PT in every encoding it's available on, the second command will only generate the locale pt_PT in the utf-8 charset.


Re: Plugin error || Bad encoding - VaReNiX - 02.07.2016

Quote:
Originally Posted by GWMPT
Посмотреть сообщение
Install the locales on the server, it might work afterwards.

Use the following command:
Код:
locale-gen <language><.<charset>>
Example utilization:
Код:
locale-gen pt_PT
# or
locale-gen pt_PT.UTF-8
The first command will generate the locale pt_PT in every encoding it's available on, the second command will only generate the locale pt_PT in the utf-8 charset.
It did not help. Tried and ru_RU and ua_UA and en_EN...
The problem is relevant!