AlliedModders
XFactor Servers

mysql and sourcemod and utf8


Post New Thread Reply   
 
Thread Tools Display Modes
DJ Tsunami
DJ Post Spammer
Karma: Good
Location: Netherlands
Old 11-04-2009 , 20:04   Re: mysql and sourcemod and utf8
Reply With Quote #11

50 is a bit exaggerated.
__________________
My Plugins
Don't PM me asking for support, post in the plugin's topic.
DJ Tsunami is online now
Darkimmortal
Senior Member
Karma: Neutral
Old 11-04-2009 , 21:50   Re: mysql and sourcemod and utf8
Reply With Quote #12

The mysql client library is compiled to use latin1 by default. Is that something that can be changed in Sourcemod easily?
__________________
Darkimmortal is offline
BAILOPAN
Location: goban
Old 11-04-2009 , 23:29   Re: mysql and sourcemod and utf8
Reply With Quote #13

MySQL's collation is a property of the database, tables, and columns... it defaults to latin1 or something, whatever I hate MySQL entirely.

You can force a certain collation over the MySQL connection. Someone should file a SourceMod bug. We can't change the defaults but we can introduce generic API.

I don't like driver-specific code. It hurts. If we had better SQL abstraction I would not approve plugins which used driver-specific queries. But that's neither here nor there.
__________________
hello, i don't think i am pm

Last edited by BAILOPAN; 11-04-2009 at 23:32..
BAILOPAN is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:17.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Theme made by Freecode Sponsored by Layered Technologies