# DEC to ASCII characters display

**URL:** <https://discourse.nodered.org/t/dec-to-ascii-characters-display/100309>\
**Category:** General\
**Created:** [4 February 2026 17:09 UTC](https://discourse.nodered.org/t/dec-to-ascii-characters-display/100309 "2026-02-04T17:09:11Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)\
**Post date:** [4 February 2026 17:27 UTC](https://discourse.nodered.org/t/dec-to-ascii-characters-display/100309/2 "2026-02-04T17:27:32Z")

</div>

Look very ambiguous as to what you have is it an array or buffer?

From array using JS in function node.

```auto
msg.payload = String.fromCharCode.apply(null, msg.payload);

```

returns `HILSCHYW`

When supplying data it is best to supply text. You can gain this by using the copy value in the debug sidebar

There’s a great page in the docs ([Working with messages : Node-RED](https://nodered.org/docs/user-guide/messages)) that will explain how to use the debug panel to find the right path/value for any data item.

Pay particular attention to the part about the buttons that appear under your mouse pointer when you over hover a debug message property in the sidebar.

![BX00Cy7yHi](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/d/bd1f333a9e043b061b39917c328b0094d3e52d30.gif)

Then paste in thread using

In order to make code readable and usable it is necessary to surround your code with three backticks (also known as a left quote or backquote `````)

````auto
``` 
   code goes here 
```

````

You can edit and correct your post by clicking the pencil ✏ icon.

See this post for more details - [How to share code or flow json](https://discourse.nodered.org/t/how-to-share-code-or-flow-json/506)

Or have a look at [node-red-contrib-buffer-parser (node) - Node-RED](https://flows.nodered.org/node/node-red-contrib-buffer-parser)

---

_[View the full topic](https://discourse.nodered.org/t/dec-to-ascii-characters-display/100309)._
