I implemented downloading a file. I received raw string data. I save this data to a file, but can't open it, because file is invalid.
I tried to download jpg image. I think this is a result of incorrect converting this data to bytes.
What Encoding I need to use?