Saturday 6 May 2017

Javascript: Decode String from File?

I am trying to decode a string from a file like this:

decode(fs.readFile(path.join(inbox.dir, inbox.messages[found].lastHash), 'utf8'))

But this is my output: �w^~)�



via grant

No comments:

Post a Comment