The UChar[] elements are numbers. If you convert it to a string then use ascii() on each char to convert it back to a number but as i say the UChar is an array of byte values in the first place you can move each to an integer or whatever

Perhaps post some code to show what you want more clearly