This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: byte array to string conversion


>>>>> "Lars" == Lars Andersen <lars@rimfaxe.com> writes:

Lars> Substitute "iso-8859-1" with "UTF-8" and only Sun jdk works (at least
Lars> for me)

Are you sure it really works with the JDK?
The byte buffer you're passing to the String constructor doesn't
contain a valid UTF-8 sequence.

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]