Hello,
I have to translate a string of delimited numbers into ascii string.
This is working fine:
String.fromCharCode(65,66,67); // returns 'ABC'
...
I have a msg.payload containing by example: 45,42,45,42,45,42,45,42,22,42,22,42,6,42,6,28,28
I need to translate that string into ascii like this: X0017EXXU5 (from the above example payload)
I try:
msg.payload = String.fromCharCode(msg.payload); return msg;
...in a function node
but I receive a strange aswer:
""
Strange ???
If someone have an idea???
Many thanks,
PhilLu