On Tue, Dec 23, 2008 at 3:53 AM, biosmonkey <[email protected]> wrote:

> I still am not clear on why I had so much trouble with trying to use
> strings (why can't I just concatenate the codes?), but this works so
> I'm not really going to investigate it any further!

Concatenating the bytes is exactly what you're doing with ByteArray.
You stuff the bytes into a single array and then read the entire array
as a UTF-8 string.

The String class does not do UTF-8 encoding/decoding itself, or you
would be able to just stuff the data directly into a String object and
print it out afterwards.

-- 
http://manishjethani.com/

Reply via email to