problem of the korean charset in the laste ODAC Net Edition version

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
tkdsong
Posts: 5
Joined: Wed 11 Oct 2006 02:40

problem of the korean charset in the laste ODAC Net Edition version

Post by tkdsong » Wed 11 Oct 2006 05:52

Hi!

I have found a problem of the korean charset in the laste ODAC Net Edition version

" SELECT a.msgkey, a.phone, a.callback,
decode(nvl(b.status, '0'), '1', '전송중', '2', '전송완료', '대기') as status,
b.status,
a.msg, a.etc2
FROM TB_SMS_MSG a, kenca.sms_log b
WHERE a.msgkey = b.msgkey(+)
AND a.etc2 = '등록'
AND a.etc1 = :p_reqnum
ORDER BY a.msgkey "

in TOraQuery and then put Active=True
I get all the time "ORA-00907: missing right parenthesis"

I know the statement is OK...
I'm try to check this SQL statement with "SQL Plus" Oracle tool , OK Execute

"decode(nvl(b.status, '0'), '1', '전송중', '2', '전송완료', '대기') as status "
this sentence Dont't execute, but
"decode(nvl(b.status, '0'), '1', '등록', '2', '미등록', '등록') as status "
this sentence is execute OK
I guess Don't execute korean Charset in ODAC Net Edition version


P.S.
ODAC Net Edition v5.80, Oracle it, Win XP Professional SP2 (korea), Delphi 7

try to TOraSession Set is
TOraSession.Options.CharLength := 0;
TOraSession.Options.Charset := 'UTF8';
TOraSession.Options.ConvertEOL := False
TOraSession.Options.DateFormat : YYYY-MM-DD
TOraSession.Options.DateLanguage := KOREAN
TOraSession.Options.Net := True;
TOraSession.Options.UseUnicode := False or True;

Please~ Would you solve this problem?

-- in The South Korea, Seoul

Challenger
Devart Team
Posts: 925
Joined: Thu 17 Nov 2005 10:53

Post by Challenger » Wed 11 Oct 2006 13:31

ODAC doesn't support Unicode characters in SQL text. Please try to use parameters instead.

Post Reply