How to download a txt file from dropbox

I am trying to download a .txt file from dropbox and then process the content of the – very short – file.

Turns out that, even for .txt files, dropbox saves as a binary.

Have tried three different methods to convert the binary to plain text and none of them work.

  1. toString function
  2. tools → convert the encoding of a text
  3. cloud convert

in each case, the output is NOT plain text.

Sorry for venting, but this feels like should be very straightforward, yet I can’t seem to figure out how to download a text file from dropbox.