Hi all,
I have a nodered flow in place which has a fucntion node which recieves a json input. Inside the json input there's a key named "Cold Plate Temperature (°C)". And in the function node I'm defining a variable as
var coldPlateTemperatureKeyName = 'Cold Plate Temperature (°C)'
which is then used to derefence the json object like so
msg.payload.NonFastDaq.Demo_PMNTPLUS.values[coldPlateTemperatureKeyName]
Now, this works perfectly for the most of the time, but sometimes nodered ramdomly changes the 'Cold Plate Temperature (°C)' to 'Cold Plate Temperature (�C)' either in code of function node or in the input json object (screenshots attached) which then results in an error where the key is not found in the object and creates issues.
Any leads on how this can be avoided?
Thanks