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)'
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.
I had the same problem with the degree symbol (U+00B0) and I ended up replacing the symbol with the stanza decodeURIComponent('%C2%B0'). What was happening was that the symbol was being replaced when I saved my flows.