Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 Data Corruption Issues
 UTF-8 issue junk characyters are coming for japane

Author  Topic 

santosh1937
Starting Member

2 Posts

Posted - 2013-08-24 : 14:15:11
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.

We are having the access to run the Select query through pbrun (Power Broker). But when we run the Select queries through pbrun (Power Broker) then in the result Japanese chars are garbled. It comes in Text format.

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.
----------------------------------
--

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;








This is the code..please suggest me if I can add any parametrs in this file to remove junk characters

thank you

SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2013-08-24 : 19:52:03
This is a forum for Microsoft SQL Server.
Which RDBMS are you using?



Microsoft SQL Server MVP, MCT, MCSE, MCSA, MCP, MCITP, MCTS, MCDBA
Go to Top of Page

santosh1937
Starting Member

2 Posts

Posted - 2013-08-25 : 01:12:34
Oracle
Go to Top of Page

SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2013-08-25 : 03:54:52
I think you will get better help over at www.dbforums.com



Microsoft SQL Server MVP, MCT, MCSE, MCSA, MCP, MCITP, MCTS, MCDBA
Go to Top of Page
   

- Advertisement -