debian 的 locale:
vzw1840:~# locale -a
C
en_US.utf8
POSIX
zh_CN.utf8
用isql连接后,我在unixodbc的trace文件中发现了这样一段:
[ODBC][865][SQLConnect.c][3549]
Entry:
Connection = 0x804fa60
Server Name = [DSN_MYSQL_VZW1840][length = 17 (SQL_NTS)]
User Name = [zw1840][length = 6 (SQL_NTS)]
Authentication = [NULL]
UNICODE Using encoding ASCII 'ISO8859-1' and UNICODE 'UCS-2LE'