converting byte array to String.
807603Mar 2 2006 — edited Nov 15 2007Hi I have tried to convert byte array to string.
I have used following code.
new String(byteArray);
sometimes, it is converting properly. sometimes it isnot.
so, I tried with different way like, new String(byteArray, "utf-8");
and utf 16 etc.
but, nothing is working out.
the main problem is, some character it is encrypting into "?" which is not the correct one. if any body knows to convert byte array to string, could you please reply.
thanks
chandra sekhar