I have a problem about byte array convert to String as below code:
public static void main(String[] args) {
System.out.println("--->" + new String(new byte[5]) + "<---");
}
In windows os result:
---> <---
In mac os result:
--->��������������������<---
Why? Does everybody has the problem? Help...