AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   SourceBans / SourceBans++ (https://forums.alliedmods.net/forumdisplay.php?f=152)
-   -   UTF8 Problem with serverside bans. (https://forums.alliedmods.net/showthread.php?t=207932)

Karower 02-08-2013 11:45

UTF8 Problem with serverside bans.
 
Hello,

when my servers ban players with utf8-names (like the tm character) they show up as some strange characters on the website. It happens with all automated bans that get handled by sourcebans. When i ban players manually on the website they show up properly. They show up properly when i connect to the database with my own php scripts aswell (i use the set names utf8 command here).

how can i fix that with sourcebans 1.4.10?

kind regards

Faks 02-09-2013 03:48

Re: UTF8 Problem with serverside bans.
 
sourcebans mysql UTF-8 set it manually ... in datbase tables ...
http://stackoverflow.com/questions/2...utf-8-properly

Karower 02-11-2013 05:28

Re: UTF8 Problem with serverside bans.
 
Here are 2 screenshots.

http://www.pixelstube.com/sourcemod/blocked.jpg

http://www.pixelstube.com/sourcemod/mysql.jpg

The mySQL-DB is on a shared webhosting server. I'm very limited on what i can change.

ppalex 02-11-2013 07:54

Re: UTF8 Problem with serverside bans.
 
Did you banned player with this problem from console command or admin menu?

Karower 02-11-2013 09:07

Re: UTF8 Problem with serverside bans.
 
The bans with the wrong encoding are done automatically by the server. No admin involved. Last few bans i checked where Team Killing time bans by SimpleTk or Eventscripts which use the sm_ban console commands.

The scripts use the command:
sm_ban userid time reason

hasta 02-12-2013 11:40

Re: UTF8 Problem with serverside bans.
 
i have another problem witn Length (Banlength)

http://i.imgur.com/Mcdjfkr.png

MySQL charset: UTF-8 Unicode (utf8)

Rytis 02-12-2013 15:37

Re: UTF8 Problem with serverside bans.
 
Could you please send me your SourceBans URL?


All times are GMT -4. The time now is 02:32.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.