eppesuiG
9th November 2007, 10:59
Hi,
I already described this problem in "Tools development" forum, but probably this is a better place for this kind of questions.
I guess there is a problem with charset encoding since I keep having this error message when I try to insert a new value to a string field. The new value include a letter "è" that is stored as a two byte in our oracle database setup with utf-8 encoding.
This message is correctly stored in oracle, and I can query it with sqlplus in both NLS_LANG=american_america.we8iso88591 and NLS_LANG=american_america.utf-8. sqlplus convert the value according to my "ALTER SESSION SET NLS_LANGUAGE=..." statement.
When running the session in baan, I get the following error logged:
Log message called from view/port.8.4a.01/vobs/tt/lib/dbc/c_dd_chk.c: #105 keyword: Check dd
Pid 27228 Uid 145 Euid 145 Gid 125 Egid 125 Pset diego@DAKKAR2:6700
user_type S language 6 user_name info004 tty ote locale ISO88591/NULL
session: "tinpr0220m000";object: "tinpr0220m000"; company number: 200
Errno 0 bdb_errno 0
Log_mesg: tinpr020.rjcerror not according to NOHI (value 'Non Ã"possibile processare record con stato "Completato" o successivo')
Log message called from view/port.8.4a.01/vobs/tt/lib/dbc/c_dd_chk.c: #105 keyword: Check dd
Pid 27228 Uid 145 Euid 145 Gid 125 Egid 125 Pset diego@DAKKAR2:6700
user_type S language 6 user_name info004 tty ote locale ISO88591/NULL
session: "tinpr0220m000";object: "tinpr0220m000"; company number: 200
Errno 0 bdb_errno 205 (Out of range)
Log_mesg: Error 205 (Out of range) on tinpr020200 in db_update(51)
The error message is written when calling db.update on tinpr020 as shown here:
db.retry.point()
select tinpr020.*
from tinpr020 for update
where tinpr020._index2 = {0}
selectdo
ret.string = form.text$( "tinpr.0002", language$)
tinpr020.rjcerror = ret.string
|a few lines of code ...
db.update( ttinpr020, db.retry)
commit.transaction()
Any suggestion?
Thanks a lot
I already described this problem in "Tools development" forum, but probably this is a better place for this kind of questions.
I guess there is a problem with charset encoding since I keep having this error message when I try to insert a new value to a string field. The new value include a letter "è" that is stored as a two byte in our oracle database setup with utf-8 encoding.
This message is correctly stored in oracle, and I can query it with sqlplus in both NLS_LANG=american_america.we8iso88591 and NLS_LANG=american_america.utf-8. sqlplus convert the value according to my "ALTER SESSION SET NLS_LANGUAGE=..." statement.
When running the session in baan, I get the following error logged:
Log message called from view/port.8.4a.01/vobs/tt/lib/dbc/c_dd_chk.c: #105 keyword: Check dd
Pid 27228 Uid 145 Euid 145 Gid 125 Egid 125 Pset diego@DAKKAR2:6700
user_type S language 6 user_name info004 tty ote locale ISO88591/NULL
session: "tinpr0220m000";object: "tinpr0220m000"; company number: 200
Errno 0 bdb_errno 0
Log_mesg: tinpr020.rjcerror not according to NOHI (value 'Non Ã"possibile processare record con stato "Completato" o successivo')
Log message called from view/port.8.4a.01/vobs/tt/lib/dbc/c_dd_chk.c: #105 keyword: Check dd
Pid 27228 Uid 145 Euid 145 Gid 125 Egid 125 Pset diego@DAKKAR2:6700
user_type S language 6 user_name info004 tty ote locale ISO88591/NULL
session: "tinpr0220m000";object: "tinpr0220m000"; company number: 200
Errno 0 bdb_errno 205 (Out of range)
Log_mesg: Error 205 (Out of range) on tinpr020200 in db_update(51)
The error message is written when calling db.update on tinpr020 as shown here:
db.retry.point()
select tinpr020.*
from tinpr020 for update
where tinpr020._index2 = {0}
selectdo
ret.string = form.text$( "tinpr.0002", language$)
tinpr020.rjcerror = ret.string
|a few lines of code ...
db.update( ttinpr020, db.retry)
commit.transaction()
Any suggestion?
Thanks a lot