cast incoming data as unicode