I'm doing a REST request to get file contents from a file in my SharePoint library. So far, I've managed to get the actual contents from any file I need, and I've tried converting to binary. But, for example, if I try to pull information from a Word document, it comes out something like this:
üÜé×·Äxj¨ADtÙ$Kq"´¹æ7!v9gaL·;p¯ÀÄÄ .B"Sí¯þ´è|Û 3ÐÑÑ _Xä k
It works fine on .txt files, but I'm trying to do it from a .onepkg, so what can I do to convert this data into readable content?