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-problem with Chinese characters

Former Member
0 Likes
1,024

Dear all,

We have our system upgraded to ECC 6.0 from 4.6 C. There are some chinese characters hardcoded in the program.. That is, for numbers 1 to 10 we have chinese characters hardcoded which is used later on to print the total amount in words in the SAPscript form.

But in the unicode system, even when I log in in ZF(chinese) and see those characters in the program, they appear as junk characters and they print junk characters also. Is there anyway I can hardcode the chinese characters and use them in unicode system?

Experts kindly help me, since it is urgent. <REMOVED BY MODERATOR>

Regards

Veena

Edited by: Alvaro Tejada Galindo on Feb 7, 2008 2:39 PM

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
701

In Unicode characters have doubled it's size. I mean (if I recall well) that before a character needed 1 byte to be stored and now it needs 2 bytes. So now the program is reading 2 bytes instead of 1 and it's missinterpreting that character. If you have a chineese keyboard try to re-type the hardcode, or else put in the progam the corresponding Unicode code [http://unicode.org/charts/] in hexadecimal.

I hope it helps!

Regards,

Pablo

3 REPLIES 3
Read only

Former Member
0 Likes
702

In Unicode characters have doubled it's size. I mean (if I recall well) that before a character needed 1 byte to be stored and now it needs 2 bytes. So now the program is reading 2 bytes instead of 1 and it's missinterpreting that character. If you have a chineese keyboard try to re-type the hardcode, or else put in the progam the corresponding Unicode code [http://unicode.org/charts/] in hexadecimal.

I hope it helps!

Regards,

Pablo

Read only

0 Likes
701

Hi Pablo,

Thanks a lot for your prompt reply. I do not have a chinese key board. The language is traditional chinese (ZF). I do not find it in the chart. Any ideas?

Thanks,

Veena

Read only

Former Member
0 Likes
701

Thank you.