SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


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


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

Author
Message
santosh.parmi
santosh.parmi
Forum Newbie
Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)

Group: General Forum Members
Points: 2 Visits: 8
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;
Erland Sommarskog
Erland Sommarskog
SSCertifiable
SSCertifiable (5.5K reputation)SSCertifiable (5.5K reputation)SSCertifiable (5.5K reputation)SSCertifiable (5.5K reputation)SSCertifiable (5.5K reputation)SSCertifiable (5.5K reputation)SSCertifiable (5.5K reputation)SSCertifiable (5.5K reputation)

Group: General Forum Members
Points: 5520 Visits: 875
Excuse me, but what is the connection to SQL Server?

Erland Sommarskog, SQL Server MVP, www.sommarskog.se
santosh.parmi
santosh.parmi
Forum Newbie
Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)

Group: General Forum Members
Points: 2 Visits: 8
oracle
Erland Sommarskog
Erland Sommarskog
SSCertifiable
SSCertifiable (5.5K reputation)SSCertifiable (5.5K reputation)SSCertifiable (5.5K reputation)SSCertifiable (5.5K reputation)SSCertifiable (5.5K reputation)SSCertifiable (5.5K reputation)SSCertifiable (5.5K reputation)SSCertifiable (5.5K reputation)

Group: General Forum Members
Points: 5520 Visits: 875
If this happens on an Oracle system, you need find a forum for Oracle. This entire site is dedicated to Microsoft SQL Server.

Erland Sommarskog, SQL Server MVP, www.sommarskog.se
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search