SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 Data Corruption Issues
 UTF-8 issue junk characyters are coming for japane
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

santosh1937
Starting Member

2 Posts

Posted - 08/24/2013 :  14:15:11  Show Profile  Reply with Quote
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

Sweden
30282 Posts

Posted - 08/24/2013 :  19:52:03  Show Profile  Visit SwePeso's Homepage  Reply with Quote
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 - 08/25/2013 :  01:12:34  Show Profile  Reply with Quote
Oracle
Go to Top of Page

SwePeso
Patron Saint of Lost Yaks

Sweden
30282 Posts

Posted - 08/25/2013 :  03:54:52  Show Profile  Visit SwePeso's Homepage  Reply with Quote
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
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000