Some utility you can use ...
1. the nsconv in mozilla source can convert \u from/to Unicode
2. If you download my hack in http://people.netscape.com/ftang/download/
you can use it in Netscape composer to encode/decode chaacter ....
Ben Yenko-Martinka wrote:
> I am a first-timer on this list.
> I've searched high and low (including Character, Collator and various
> Iterator classes and all web resources I could find) and cannot find a
> Java method that will give me the Unicode string representation of a
> char or of a Character
> object (either will do).
> Instead of using the string "\unnnn" to generate a Unicode character,
> I want the Unicode character to generate the string "\unnnn".
> This is so I can use the string as a key in a properties file to do data
> conversions via property mapping.
> I want to iterate through strings using BreakIterator and obtain the
> 4-digit unicode descriptor for each character.
> Does anyone know of anything that will do this for me? Perhaps it is
> staring me in the face somewhere and I just can't see it. Wouldn't be
> the first time!
> Many thanks,
> Ben Yenko-Martinka
This archive was generated by hypermail 2.1.2 : Tue Jul 10 2001 - 17:20:54 EDT