I'm trying to convert a byte array in string with simple code:
System.out.printf("%s \n", new String(b));
where b has this content (in hex chars):
32d001000001000000000000246d3639653331697769736374683134633439687763796c7862796f74697167786f786c7504696e666f0000010001
If I run my code in Windows I get the entire decoded String, however in Linux it seems dropped until the null byte (00). If I skip these bytes the correct String in produced.
How can I get the same result in Linux OS? Sorry but I can't attach image due to restriction :'(
Thanks in advance!