string to byte[] (#1106)