informix 4GL 编译过程碰到中文报4407错误
最近一台机器重新安装了SCO UNIX 5.06 + INFORMIX7.31(IDS,4gl,SDK,4gp)没有安装中文包,是不是7.31后不用安装中文包的?所有都设置好后编译4gl 程序就报错4407
IF SQLCA.SQLCODE != 0 THEN
LET SYS_errmsg = "预处理游标错", SQLCA.SQLCODE
|There is an unprintable character in the above line.
| See error number -4407.
|
|There is an unprintable character in the above line.
| See error number -4407.
|
|There is an unprintable character in the above line.
| See error number -4407.
|
|There is an unprintable character in the above line.
| See error number -4407,
....
CALL ErrMsg_srv(SYS_errmsg)
RETURN FAILURE
我如果把上面的“预处理游标错”改成英文就通过了,折腾变天都搞不懂哪里出错,望各位大虾鼎立帮助 谢谢了
-4407 There is an unprintable character in the above line.
This source line contains an unusual character. 4GL suggests that the
source file might be corrupt. Edit the file and remove the bad
character. If you cannot see or select it with your editor, you may
have to delete and retype the line.
不知道是没有安装中文包呢还是哪里没有设置对
[ 本帖最后由 frankmao 于 2008-3-10 21:15 编辑 ] 你设置一下这几个参数试一下:
CLIENT_LOCALE=zh_cn.gb
DB_LOCALE=zh_cn.gb
SERVER_LOCALE=zh_cn.gb
export CLIENT_LOCALE DB_LOCALE SERVER_LOCALE 没有用 应该不是这几个参数问题啊 我不知道是不是没有安装informix中文包问题 7.31UD4 版本还要安装中文包吗 额~~这些参数应该在数据库初始化前设置的~~ 原帖由 frankmao 于 2008-3-11 19:56 发表 http://bbs.chinaunix.net/images/common/back.gif
没有用 应该不是这几个参数问题啊 我不知道是不是没有安装informix中文包问题 7.31UD4 版本还要安装中文包吗
7.30以前版本才需要中文包 到底怎么回事啊
现在发现以前编译的程序 在输入框中输入中文 光标就往前跳 变成乱码 估计和编译报4407是一个问题造成的
希望遇到过的大侠来帮帮忙了 就没有人能帮忙啊 。。。 顶上去 请求高人解决 你看看是不是SCO的语言环境的问题!
写段C代码,看看能不能正常显示中文!
页:
[1]