需要支持多国语言
server(linux) 数据库、表、字段都是ucs2 
client(windows) 
从client发过来是ucs2(bigendian)格式的字符串server也设置过了mysql_query(m_mysql,"SET NAMES ucs2");现在问题是怎么插入
memcpy(execsql, buf, len);//execsql, buf都是char。  buf是socket接收数据
mysql_query(&mysql_conn, execsql);//这个好像不能这么写吧
我觉得插入应该用ucs2的字符串,可是linux貌似只有ucs4没有ucs2,请问这个怎么改