I can't seem to get a buffer to convert into a string like the debug node is showing.
My buffer is:
The desired string is:
The string i'm getting is:
The buffer for the string I'm getting is:
I'm using msg.payload = msg.payload.toString("ascii") to convert the buffer and I have tried all the different encoding option I could find. It seems like only certain characters are converting properly.