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: 

Not able to display Japanese characters in AL11

Former Member
0 Kudos

Hi,

I have written a program to generate a file using code page "8000". The statement is as follows:

OPEN DATASET FILE1 FOR OUTPUT IN LEGACY TEXT MODE CODE PAGE '8000'.

However when I display the file in transaction code AL11, all japanese characters are displayed in ######.

Any help is appreciated.

Thanks,

Ken.

7 REPLIES 7

Former Member
0 Kudos

Hi,

Check the code page for other langugaes and try to pass that value in the coda page.

Also check in different clients. In most of the cases it should be either 1100 or 1160.

BR,

Lokeswari.

0 Kudos

Hi Lokeswari,

Thanks for the reply.

The code page used "8000" should be correct for Japanese Shift JIS.

After the file is generated, I am able to open the file in Internet Explorer (with correct encoding) and see the japanese characters. However in AL11, I see all "#####".

Any idea?

Regards,

Ken.

0 Kudos

Hi,

Check the FM which is called during the generation of file fom AL11 and check the codepage value from which it is referring.

Try to modify that value to meet your requirement.

BR,

Lokeswari.

0 Kudos

Hi Lokeswari,

I can see that the standard FM uses ENCODING DEFAULT when opening the file. Does it mean that AL11 does not support displaying japanese Shift JIS characters?

Thanks,

Ken.

SuhaSaha
Advisor
Advisor
0 Kudos

>

> I have written a program to generate a file using code page "8000". The statement is as follows:

>

> OPEN DATASET FILE1 FOR OUTPUT IN LEGACY TEXT MODE CODE PAGE '8000'.

Hello Ken,

Any specifics why you're LEGACY TEXT MODE? You can try this:

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

BR,

Suhas

Former Member
0 Kudos

Hi Suhas,

Thanks for the reply.

I used LEGACY TEXT MODE because I wanted to cater for Non-Unicode and I cannot use encoding UTF8 for Japanese Shift JIS charaters.

Actually the file was generated correctly because I can display the japanese characters in Internet Explorer (with japanese encoding), but I can't see them when I open the file in AL11.

Any idea?

Thanks,

Ken.

Former Member
0 Kudos

Hi,

I have faced similar issue while i tried to display a .Csv file in AL11, the coding which was written by some one previously used CODE PAGE 8000. i have used ENCODING DEFAULT and it worked fine for me.

hope if this helps.

Thanks,

Venkatesh