Package utl_i18n

From: Łukasz <lukaszkecik_at_gmail.com>
Date: Wed, 4 Jun 2008 06:47:29 -0700 (PDT)
Message-ID: <10b83217-72f8-4e4b-b78c-e63bb7824b88@t54g2000hsg.googlegroups.com>


I have problem which char-coding, I want convert data from 'CP852' to 'WIN1250' (I have file which data coding in 'CP852' and I want insert this data to DB (set coding 'WIN1250'), why my example doesn't work?

DECLARE
    r raw(50);
    s varchar2(20);
  BEGIN
    s:='1234';
    r:=utl_i18n.string_to_raw(s,'CP852');     s := UTL_I18N.RAW_TO_NCHAR(r,'WIN1250') ;    dbms_output.put_line(s);
  end;

Best regard Łukasz Received on Wed Jun 04 2008 - 08:47:29 CDT

Original text of this message