Fixed bugreport:5154 http://rathena.org/board/tracker/issue-5154-sql-setencoding