byte fieldByte = ....; String field = new String(fieldByte);
best regards m_darim
Joined: Sep 21, 2007
Thanks for reply.
use it like this
String fieldValue = new String(field_name, "US-ASCII");
But the "US-ASCII" is 7-bit not 8-bit.
Does this fulfil the requirement? [ October 16, 2007: Message edited by: Huan Niu ]
Joined: Jun 25, 2007
yep "US-ASCII" is 7-bit if you do a search on the in forum you will find that "US-ASCII" is the correct on to use, i can not remember what i searched on but a couple weeks, but someone confirmed it by asking Sun. In a reply