utf-8 issue japanese chars are comong as ???

  • Hi,

    We have to get some data from U98 (saixdbU98) in UTF-8 format in Excel sheet.

    We are having queries ready for this. These queries bring data which have Japanese characters.

    But when we run the Select queries then in the result Japanese chars are garbled. It comes in ????.

    Please suggest a solution for this and let us know what process we have to follow to get the result in UTF-8 format in Excel sheet.

    here is the code

    --

    set sqlblanklines on;

    SET DEFINE OFF;

    set linesize 1000

    set long 1000000

    set pages 50000

    set feed off markup html on spool on

    spool /tmp/UAT_bkp_xls_27Aug12.xls

    --UAT_bkp_xls_27Aug12.sql

    select * from GCMS_USER.GCMS_PHRASES ;

    select * from GCMS_USER.GCMS_MAPPING ;

    select * from GCMS_USER.GCMS_SCREEN ;

    select * from GCMS_USER.GCMS_APPS ;

    commit;

    spool off

    set markup html off spool off

    exit;

  • Excuse me, but what is the connection to SQL Server?

    [font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]

  • oracle

  • If this happens on an Oracle system, you need find a forum for Oracle. This entire site is dedicated to Microsoft SQL Server.

    [font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]

Viewing 4 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply