F
F
Dear all,
I am writing an application where I need to receive text in a
different character set than the normal ascii.
I am supposed to receive string in hebrew and make some computation on
that based on the unicode values of each character.
I was trying some basic code to see how it works but I can't get the
output that I expect. For example:
System.out.println("character value:"+ (int)args[0].charAt(0));
The value in args[0] is a hebrew letter, which should have the Unicode
value between 05D0 and 05FF. However, any value that I give as an
input always returns 63 (the code for the '?').
Can anyone help me?
Kind regards,
F.
I am writing an application where I need to receive text in a
different character set than the normal ascii.
I am supposed to receive string in hebrew and make some computation on
that based on the unicode values of each character.
I was trying some basic code to see how it works but I can't get the
output that I expect. For example:
System.out.println("character value:"+ (int)args[0].charAt(0));
The value in args[0] is a hebrew letter, which should have the Unicode
value between 05D0 and 05FF. However, any value that I give as an
input always returns 63 (the code for the '?').
Can anyone help me?
Kind regards,
F.