This one I can't find a solution for, so if someone could send me in the right direction.
I have this "test" flow, that send a message as buffer, that one gives me red diamond with question mark.
If I receive as sting via funtion node "msg.payload = msg.payload.toString();" I get does wrong.
But if received directly to debug node, i see the buffer numbers with raw, and when i click i see the text correctly.
I know that is some thing with coding UTF-8 etc. but can't find the way.
[{"id":"b6998e3a1546c93c","type":"debug","z":"7f4d18d1b36d451f","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":1410,"y":600,"wires":[]},{"id":"9200dc257b4ec2ba","type":"function","z":"7f4d18d1b36d451f","name":"Buffer to String","func":"msg.payload = msg.payload.toString();\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":1240,"y":600,"wires":[["b6998e3a1546c93c"]]},{"id":"0af5e5f9eb1b43cd","type":"debug","z":"7f4d18d1b36d451f","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":1230,"y":640,"wires":[]},{"id":"502b7419641df689","type":"inject","z":"7f4d18d1b36d451f","name":"","props":[{"p":"payload"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"[171,116,101,115,116,187]","payloadType":"bin","x":1010,"y":620,"wires":[["0af5e5f9eb1b43cd","9200dc257b4ec2ba"]]}]