| [news.eclipse.platform.rcp] Re: Cp1047 encoding problem |
Hi i am trying to convert array of bytes in to string using Cp1047 encoding. but it was creatingThis is not an Eclipse question. Make sure the encoding is supported by your VM.
a null string.
what may be the problem please let me know?
i am giving the code below,i am using eclipse 3.2.1 with jre 1.5.0
<b>byte[] data={65,65,65,65,65,65}; return new String(data,"Cp1047");</b>
please help me in solving the problem.
thanks and regards,
Venkat.