Since the installation of 4.0.2 amd and nodejs 22 i have trouble with displaying german characters ä,ü,ö in the editor and in the debug window. When i restart the docker container, everything is okay. After Nodered is running again, the problems occur again after approx. 1 day.
Editor:
When i switch to german language in settings the characters in the node names are shown as ?.
See. image EditorlanguageGerman.
debug window:
If a flow is triggered with a payload, containing ä,ö,ü the output of a debug node is not shown in the debug window. the flows itself are working correctly
see images debugwindows
I used Developer tools in the microsoft edge browser and i got an error message in the Console.
see image ErrorWebsocketConnection
There are any settings for UTF-8, Codepage, ... available in NodeRed?
Code example
[
{
"id": "41e00b30b1bfecbf",
"type": "tab",
"label": "Flow 1",
"disabled": false,
"info": "",
"env": []
},
{
"id": "50d18ecd1362f7bc",
"type": "inject",
"z": "41e00b30b1bfecbf",
"name": "",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "test german characters",
"payload": "payload = ä ü",
"payloadType": "str",
"x": 630,
"y": 100,
"wires": [
[
"2270cb93b34cadbe",
"12760eb87bc6ed94",
"41739e8e1ffe2f54"
]
]
},
{
"id": "2270cb93b34cadbe",
"type": "debug",
"z": "41e00b30b1bfecbf",
"name": "debug 245",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "true",
"targetType": "full",
"statusVal": "",
"statusType": "auto",
"x": 990,
"y": 160,
"wires": []
},
{
"id": "0cf636318eeb4cf5",
"type": "inject",
"z": "41e00b30b1bfecbf",
"name": "",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "test ae ue",
"payload": "payload = ae ue",
"payloadType": "str",
"x": 630,
"y": 220,
"wires": [
[
"2270cb93b34cadbe",
"41739e8e1ffe2f54",
"12760eb87bc6ed94"
]
]
},
{
"id": "41739e8e1ffe2f54",
"type": "function",
"z": "41e00b30b1bfecbf",
"name": "function 63",
"func": "node.warn(\"test\")\nmsg = {}\nreturn msg;",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 990,
"y": 240,
"wires": [
[]
]
},
{
"id": "12760eb87bc6ed94",
"type": "function",
"z": "41e00b30b1bfecbf",
"name": "function 64",
"func": "node.warn(msg.payload)\n\nreturn msg;",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 990,
"y": 80,
"wires": [
[]
]
}
]