linux下用命令isql -Usa -P登陆sybase出现编码zh_CN.UTF-8不存在在文件下doesn't exist in your /home/sybase/locales/locales.dat
The context allocation routine failed when it tried to load localization files!!
One or more following problems may caused the failure
Your sybase home directory is /home/sybase. Check the environment variable SYBASE if it is not the one you want!
Using locale name "zh_CN.UTF-8" defined in environment variable LANG
Locale name "zh_CN.UTF-8" doesn't exist in your /home/sybase/locales/locales.dat file
An error occurred when attempting to allocate localization-related structures.
[sybase@fox5-2 ~]$ which locales.dat
/usr/bin/which: no locales.dat in (/home/sybase/ASE-12_5/bin:/home/sybase/ASE-12_5/install:/home/sybase/OCS-12_5/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/opt/real/RealPlayer:/home/sybase/bin)
解决方法:/home/sybase/locales目录下打开locales.dat文件,在[linux]下面添加一行locale = zh_CN.UTF-8, chinese, utf8[@more@]
The context allocation routine failed when it tried to load localization files!!
One or more following problems may caused the failure
Your sybase home directory is /home/sybase. Check the environment variable SYBASE if it is not the one you want!
Using locale name "zh_CN.UTF-8" defined in environment variable LANG
Locale name "zh_CN.UTF-8" doesn't exist in your /home/sybase/locales/locales.dat file
An error occurred when attempting to allocate localization-related structures.
[sybase@fox5-2 ~]$ which locales.dat
/usr/bin/which: no locales.dat in (/home/sybase/ASE-12_5/bin:/home/sybase/ASE-12_5/install:/home/sybase/OCS-12_5/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/opt/real/RealPlayer:/home/sybase/bin)
解决方法:/home/sybase/locales目录下打开locales.dat文件,在[linux]下面添加一行locale = zh_CN.UTF-8, chinese, utf8[@more@]
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/24870090/viewspace-1058356/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/24870090/viewspace-1058356/