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

getting junk characters when uploading UTF-8 file

Former Member
0 Likes
807

Hi

i have input file format UTF-8. i am working on 4.6B version. the input file contains some of the text in japanese language.

i am uploading the file into my internal table and processing the data based on the given logic and downloading the output into 5 different files based on the field record type.

when i see the downloaded files i am able to see the japanese characters in file and the rest of the files is updated the text as some junk characters.

can any one faced a problem like this please suggest the process to be done.

what is the reason that one file is giving the correct japanese data. i am not passing any code page while upload / download or done any change to settings .

regards

rajani yeluri

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
537

setting for installing language

-


1.GO TO CONTROL PANEL -> REGIONAL AND LANGUAGE OPTION -> LANGUAGE TAB -> CHECK THE 2ND CHECKBOX -> TAB ADVANCED->

SELECT THE LANGUAGE TO BE INSTALLED OR CHECK THE CHECKBOXED BELOW TO THAT BASED ON OPERATING SYSTEM (MINE IS WINDOWS XP)

NOT WINDOWS 2000.

RESTART THE COMPUTER AFTER INSTALLATION.

2.THEN GO SAP LOGIN AND GO TO TAB->CUSTOMIZING OF LOCAL LAYOUT -> OPTIONS->118N->CHECK THE CHECKBOX.

3. when using WS_UPLOAD / WS-DOWNLOAD add the parameter code-page = ‘8000’.

THEN WILL WORK THE JAPANESE LANGUAGE.

Hi

i have input file format UTF-8. i am working on 4.6B version. the input file contains some of the text in japanese language.

i am uploading the file into my internal table and processing the data based on the given logic and downloading the output into 5 different files based on the field record type.

when i see the downloaded files i am able to see the japanese characters in file and the rest of the files is updated the text as some junk characters.

can any one faced a problem like this please suggest the process to be done.

what is the reason that one file is giving the correct japanese data. i am not passing any code page while upload / download or done any change to settings .

regards

rajani yeluri

2 REPLIES 2
Read only

Former Member
0 Likes
537

Are all the download files opened in the same mode and extension? How are you verifying the contents of the files: opening the files in an editor like notepad or opening in SAP itself (using AL11)?

Read only

Former Member
0 Likes
538

setting for installing language

-


1.GO TO CONTROL PANEL -> REGIONAL AND LANGUAGE OPTION -> LANGUAGE TAB -> CHECK THE 2ND CHECKBOX -> TAB ADVANCED->

SELECT THE LANGUAGE TO BE INSTALLED OR CHECK THE CHECKBOXED BELOW TO THAT BASED ON OPERATING SYSTEM (MINE IS WINDOWS XP)

NOT WINDOWS 2000.

RESTART THE COMPUTER AFTER INSTALLATION.

2.THEN GO SAP LOGIN AND GO TO TAB->CUSTOMIZING OF LOCAL LAYOUT -> OPTIONS->118N->CHECK THE CHECKBOX.

3. when using WS_UPLOAD / WS-DOWNLOAD add the parameter code-page = ‘8000’.

THEN WILL WORK THE JAPANESE LANGUAGE.