How do I convert Unicode values to characters?
Posted 28 February 2003 - 02:54 PM
Posted 28 February 2003 - 04:19 PM
nepali characters................assuming u are using Devanagari characters ( well u can use others too), Devanagari falls into a range of 0900-097F.
You should be able to use java.lang.Character class...which is derived from java.lang.Object.
and use its method getNumericValue to convert the character to its corresponding unicode numeric value.
method is declared as this.
public static int getNumericValue( char ch);
Returns the Unicode numeric value of the character as a nonnegative integer. If the character does not have a numeric value, then -1 is returned. If the character has a numeric value that cannot be represented as a nonnegative integer (for example, a fractional value), then -2 is returned.
Posted 04 March 2003 - 04:40 PM
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users