decode byte array as unicode