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

Unicode : SAP Script - japanese

Former Member
0 Likes
873

Hi ALL ,

Recently we moved to Unicode .

Here is the issue .

When printing the Japanese Invoice, what ever hard-coded in Japanese language ,

in the script editor – ( se71 ) , is coming as garbled in the print out ,

where as the fields selected from data base tables containing Japanese characters , such as Customer name , is coming properly in the print out .

Thanks for any reply.

Hi ALL ,

Recently we moved to Unicode .

Here is the issue .

When printing the Japanese Invoice, what ever hard-coded in Japanese language ,

in the script editor – ( se71 ) , is coming as garbled in the print out ,

where as the fields selected from data base tables containing Japanese characters , such as Customer name , is coming properly in the print out .

Thanks for any reply.

4 REPLIES 4
Read only

Former Member
0 Likes
651

Hi John,

The hard-coded text literals are interpreted by the system as codpoints of the current application server's code page which is 4103 (UTF-8). Since these codepoints of hard coded text are of Japanese codepage (8000) you need to store them as Text symbols or as text elements which are translatble .

Once you do this exercise you can use these text elements in you SAP script rahter than hard coded text.

Hope this is useful.

Cheers

KSQ

Read only

0 Likes
651

Thnaks!! Let me check ..

Read only

0 Likes
651

Hi Sha,

I forgot to add this , it prints properly for one dedicated Japanese printer, and errors out in other printers which used to work properly before unicode.

What is you opinion on the above case –

In that case the system is taking Japanese Code page from the printer ? Instead of server's code page which is 4103 (UTF-8). ??

Thanks a lot

Read only

Former Member
0 Likes
651

Yes,

This depends upon how the printer was configured. Previoulsy you might have been loggin in 'JA' and the app server code page would have been 8000 in the non unicode system and hence these characters were interpreted as codepage 8000 by the printer configured. Since now the system has been Unicode enabled , all the japanese characters translation would have happened which means their codepoints are now in codepage 4103 which need to understood by the printer configured. Might have to reconfigure the printer so that it understands Unicode code page

I am not sure how LOCL would behave though.

Cheers

KSQ