Problems with german characters ä, ü,ö in NodeRed editor V 4.0.2

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": [
            []
        ]
    }
]

Hi. The fact you state it is ok for 1 day then not ok, suggests a transient issue. Additionally it appears to be websocket related - getting NON utf-8 characters transmitted. Perhaps something in your flow or on your computer. Have you tried a different browser? Have you tried running Node-RED outside of docker? Are you using the official node-red docker image?


I tried reproducing your issue by adding a delay node with the name ä,ö,ü and injecting the same string, then changing from English to German - and everything appears to work correctly.

chrome_Ft0I02OK8G

NOTE:

  • Not running in docker
  • I am running NR 4.0.3 and on NodeJS 18.x

Maybe related too:

Hi Steve, thanks for your reply.
I will get in contact with the administrators to check your proposals

The last 2 posts say update fixed this:

@KRR try updating to V4.0.3

Ok. I will do it

I installed V 4.0.3 22. Until now the problem is gone

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.