I have:
String text = // same String (text)
byte[] byteArray = org.apache.commons.codec.binary.Base64.decodeBase64(text);
System.out.println("Length: " + byteArray.length);
And the results in Windows is 31 and on Linux it's 32. I tried with sun.misc.BASE64Decoder and pretty much had the same issue...
How come the results are different lengths on the different operating systems, and how do I make it fix it so that it works on both?
textcome from? Are you sure it's the same in both cases?