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: 

Chinese characters with junk values

Former Member
0 Kudos

Hi ,

I am working on Report which will  transfer the data to Application server  .

My data contains both the English and Chinese charcters.

when i try to download the data with Chinese language ,i could see '#' or junk values , as the Code Page conversion was not happening.

So i have changed my "open Dataset " to  " OPEN DATASET lv_path FOR OUTPUT IN LEGACY TEXT MODE CODE PAGE 8404. "

AND

     " OPEN DATASET gv_dest FOR OUTPUT IN TEXT MODE ENCODING UTF-8   WITH SMART LINEFEED. "

As Code page of Chinese is 8404.

Still i could not see the correct text of chinese even after this change.

Please guide me where I am  wrong.

Thanks & Regards,

Shriram

3 REPLIES 3

Former Member
0 Kudos

Hi Shriram,

There are multiple codepages for various flavors of chinese. Make sure you are using the right codepage and it is active in your system. Also how are you getting the chinese data to transfer to the file?


Regards,

Shravan

Former Member
0 Kudos

can u chk this

OPEN DATASET File_path  FOR OUTPUT IN TEXT MODE ENCODING NON-UNICODE

  WITH SMART LINEFEED

Former Member
0 Kudos

Go to table TCP00 and get the interval of codepages from 8300 to 8500 there are about 24 entries (for Chinese). Try one of them.

Hope it helps