使用securecrt登陆rhel,编码utf8,访问sybase问题

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@]

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/24870090/viewspace-1058356/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/24870090/viewspace-1058356/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值