If the data is binary encoded send it as it is

If the data is binary encoded send it as it is. Depends on the charCodes in a file. If valid chars in the utf8 subset i assume its utf8 if not its binary data.