Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

reg : utf-8 encoding in SAP4.7

Former Member
0 Likes
676

hi gurus ,

i need to create a file in the application server path in UTF-8 encoding . hence the open dataset has been maintianed in the following way :-

OPEN DATASET filename IN MODE ENCODING UTF-8.

When the file gets generated at the app server it looks similar to any other file like seoerated by neccessary delimiter.

Is there any way to test the UTF-8 encoding? this file needs to be sent through a middleware to a Legacy system.

At the system-status field the unicode value : NO : Does that mean that the SAP version being used is a non-unicode version?

As per the knowledge for non-unicode SAP version Encoding UTF-8 needs to be maintained while creating a file. Could someone plaese correct me if i m wrong ?

Any information on the above will be very helpful

thnx

kylietisha

Edited by: kylietisha on Oct 20, 2010 1:16 AM

hi gurus ,

i need to create a file in the application server path in UTF-8 encoding . hence the open dataset has been maintianed in the following way :-

OPEN DATASET filename IN MODE ENCODING UTF-8.

When the file gets generated at the app server it looks similar to any other file like seoerated by neccessary delimiter.

Is there any way to test the UTF-8 encoding? this file needs to be sent through a middleware to a Legacy system.

At the system-status field the unicode value : NO : Does that mean that the SAP version being used is a non-unicode version?

As per the knowledge for non-unicode SAP version Encoding UTF-8 needs to be maintained while creating a file. Could someone plaese correct me if i m wrong ?

Any information on the above will be very helpful

thnx

kylietisha

Edited by: kylietisha on Oct 20, 2010 1:16 AM

2 REPLIES 2
Read only

peter_peng
Product and Topic Expert
Product and Topic Expert
0 Likes
509

Hi kylietisha,

so your question is how to verify whether the file you generated is utf-8?

if so, you just get the file from application server to your pc using tcode cg3y, then open the file with Notepad, and select menu "save as", from the popup window of save as, see the "Encoding" which can verify whether your file encoding is utf-8.

Read only

0 Likes
509

the pop-up appears to save the file in a new name

Showing file type : Text

Encoding as ANSI

That normally happens for every file

does the open data set ............with encoding UTF-8 is enough to generate a file with UTF-8?

thanks

Kylie