Application Development 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: 

Downloading file in UTF-8 format

Former Member
0 Kudos

Hi,

I want to download a file in UTF-* format.

i have written the following code to download it in UTF-8.

OPEN DATASET L_filename FOR OUTPUT IN TEXT MODE ENCODING UTF-8.

LOOP AT p_struct INTO w_struct.

TRANSFER w_struct TO l_filename.

CLEAR w_struct.

ENDLOOP.

CLOSE DATASET l_filename.

my question how do i check the file whether it is been downloaded in UTF-8 or not?

Thanks in advance.

neha

1 REPLY 1

Former Member
0 Kudos

Hi!

You have to download it into your PC. For this, use an FTP program (f.e smartftp).

Then use a text editor to check its format, for example PSPAD text editor.

Regards

Tamá