Unidac 7.0.1中文支持非常好
简单测试了一下,7.0.1中文支持非常好。Delphi7下将UniConnection的useUnicode设置为False,Tokyo下设置为True,Charset空着即可。
问题要点:
1.建数据库时:
CREATE TABLE 数据库名 (
字段名 varchar(40)
) DEFAULT CHARSET=utf8;
2.my.ini配置
[mysqld]
character-set-server=utf8
用mysql命令显示应该这这个样子:
show variables like 'char%';
+----------+----------+
| Variable_name | Value |
+----------+----------+
| character_set_client | gbk |
| character_set_connection | gbk |
| character_set_database | utf8 |
| character_set_filesystem | binary |
| character_set_results | gbk |
| character_set_server | utf8 |
| character_set_system | utf8
http://bbs.2ccc.com/topic.asp?topicid=531607