add mysql char set method.