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

**URL:** <https://discourse.nodered.org/t/problems-with-german-characters-a-u-o-in-nodered-editor-v-4-0-2/92120>\
**Category:** General\
**Tags:** docker\
**Created:** [2 October 2024 07:01 UTC](https://discourse.nodered.org/t/problems-with-german-characters-a-u-o-in-nodered-editor-v-4-0-2/92120 "2024-10-02T07:01:52Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![KRR](https://avatars.discourse-cdn.com/v4/letter/k/7bcc69/32.png) [@KRR](https://discourse.nodered.org/u/KRR)\
**Post date:** [2 October 2024 07:01 UTC](https://discourse.nodered.org/t/problems-with-german-characters-a-u-o-in-nodered-editor-v-4-0-2/92120/1 "2024-10-02T07:01:52Z")

</div>

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

 ![ErrorWebsocketConnection2](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/7/4/74113e7ef7181e46042d7227a868a6fcf67b59a7.png)  
 ![ErrorWebsocketConnection1](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/9/8/98b4d9b4d321ebb65b583f256d49673b66d0401f.png)  
 ![EditorlanguageGerman](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/3/1/3127b719d2147abeaa1740868df8eb09713f492b.png)  
 ![debugWindowpayloadaeue](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/d/0/d02f0f0dd42f45c06ba45230f858b5026557ebb8.png)  
 ![debugWindowpayloadäü](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/d/c/dc829eb5d451835a8b4c18c0425f1696c1dd2d21.png)

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

```

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [2 October 2024 07:34 UTC](https://discourse.nodered.org/t/problems-with-german-characters-a-u-o-in-nodered-editor-v-4-0-2/92120/2 "2024-10-02T07:34:21Z")

</div>

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](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/7/8/78b88e7a1158ab16931a91b41ee064546fa46681.gif)

NOTE:

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

---

<div class="post-metadata">

**Author:** ![GogoVega](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gogovega/32/71313_2.png) [@GogoVega](https://discourse.nodered.org/u/GogoVega)\
**Post date:** [2 October 2024 07:53 UTC](https://discourse.nodered.org/t/problems-with-german-characters-a-u-o-in-nodered-editor-v-4-0-2/92120/3 "2024-10-02T07:53:51Z")

</div>

Maybe related too:

> <https://github.com/node-red/node-red/issues/4871>
>
> \### Current Behavior
> 
> I recently did the upgrade to node-red 4.
> I live in bel…gium and I have a lot of node name containing accented characters. Those nodes are not displayed correctly (encoding issue ?) and that leads to an issue when I do the deployment (homekit bridge).
> 
> Previous version 2 did not have this issue.
> 
> \### Expected Behavior
> 
> node name containing accented characters are displayed correctly
> 
> \### Steps To Reproduce
> 
> create a node with accented character, deploy it.
> when you then do a refresh of the page, the name is not displayed correctly
> 
> \### Example flow
> 
> \`\`\`
> paste your flow here
> \`\`\`
> 
> 
> \### Environment
> 
> \- Node-RED version: nodered/node-red:latest-22
> \- Node.js version:
> \- npm version:
> \- Platform/OS: docker
> \- Browser: Chrome / Safari
> 
> 
> !\[image\](https://github.com/user-attachments/assets/7cb88aba-d62e-4d56-a65e-2ae1770c22d8)

---

<div class="post-metadata">

**Author:** ![KRR](https://avatars.discourse-cdn.com/v4/letter/k/7bcc69/32.png) [@KRR](https://discourse.nodered.org/u/KRR)\
**Post date:** [2 October 2024 09:10 UTC](https://discourse.nodered.org/t/problems-with-german-characters-a-u-o-in-nodered-editor-v-4-0-2/92120/4 "2024-10-02T09:10:01Z")

</div>

> [@Steve-Mcl](#):
>
> Additionally it appears to be websocket related - getting NON utf-8 characters transmitted

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

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [2 October 2024 09:12 UTC](https://discourse.nodered.org/t/problems-with-german-characters-a-u-o-in-nodered-editor-v-4-0-2/92120/5 "2024-10-02T09:12:23Z")

</div>

> [@GogoVega](#):
>
> Maybe related too

The last 2 posts say update fixed this:

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/d/bde7b9102ba8611afbe17a98c3d920382098580a.png)

@KRR try updating to V4.0.3

---

<div class="post-metadata">

**Author:** ![KRR](https://avatars.discourse-cdn.com/v4/letter/k/7bcc69/32.png) [@KRR](https://discourse.nodered.org/u/KRR)\
**Post date:** [2 October 2024 11:21 UTC](https://discourse.nodered.org/t/problems-with-german-characters-a-u-o-in-nodered-editor-v-4-0-2/92120/6 "2024-10-02T11:21:42Z")

</div>

Ok. I will do it

---

<div class="post-metadata">

**Author:** ![KRR](https://avatars.discourse-cdn.com/v4/letter/k/7bcc69/32.png) [@KRR](https://discourse.nodered.org/u/KRR)\
**Post date:** [24 October 2024 12:24 UTC](https://discourse.nodered.org/t/problems-with-german-characters-a-u-o-in-nodered-editor-v-4-0-2/92120/7 "2024-10-24T12:24:31Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [7 November 2024 12:25 UTC](https://discourse.nodered.org/t/problems-with-german-characters-a-u-o-in-nodered-editor-v-4-0-2/92120/8 "2024-11-07T12:25:11Z")

</div>

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