# OPC Special characters

**URL:** <https://forum.inductiveautomation.com/t/opc-special-characters/56614>\
**Category:** Ignition\
**Created:** [February 28, 2022, 1:29pm UTC](https://forum.inductiveautomation.com/t/opc-special-characters/56614 "2022-02-28T13:29:18Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sebastien\_Lefebvre](https://avatars.discourse-cdn.com/v4/letter/s/5e9695/32.png) [@Sebastien\_Lefebvre](https://forum.inductiveautomation.com/u/Sebastien_Lefebvre)\
**Post date:** [February 28, 2022, 1:29pm UTC](https://forum.inductiveautomation.com/t/opc-special-characters/56614/1 "2022-02-28T13:29:18Z")

</div>

Hello,

I’m using the OPC UA Server integrated in my ABB AC500 v3 controller. I have a problem with the special characters in the strings tags.

In example, a string containing “Moteur prêt” will be displayed “Moteur pr?t”. It seems to be an encoding problem, but I don’t see a place where I can configure this.

Is there a way to configure the encoding in Ignition (Unicode, UTF-8, etc) to be able to show special characters ?

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [February 28, 2022, 2:15pm UTC](https://forum.inductiveautomation.com/t/opc-special-characters/56614/2 "2022-02-28T14:15:47Z")

</div>

Encoding over OPC UA is always UTF-8.

Where are you trying to display it in Ignition? Does the OPC tag display incorrect characters in the tag browser?

I’ve seen at least one PLC with a built in server that failed to convert from its internal String encoding to UTF-8 before serving the String over OPC UA, but I can’t remember who the vendor was.

---

<div class="post-metadata">

**Author:** ![Sebastien\_Lefebvre](https://avatars.discourse-cdn.com/v4/letter/s/5e9695/32.png) [@Sebastien\_Lefebvre](https://forum.inductiveautomation.com/u/Sebastien_Lefebvre)\
**Post date:** [February 28, 2022, 2:46pm UTC](https://forum.inductiveautomation.com/t/opc-special-characters/56614/3 "2022-02-28T14:46:46Z")

</div>

I want to display these strings in my Vision Project to show all the interlocks for a specific motor using labels.

Here are some the views from Automation Builder, the Ignition Quick Client and in the Designer:

 ![Capture d’écran, le 2022-02-28 à 09.35.51](https://us1.discourse-cdn.com/inductiveautomation/original/3X/c/6/c67ec56ceab40db765770c24284d8ad48ea7e1b1.jpeg)

 ![Capture d’écran, le 2022-02-28 à 09.38.37](https://us1.discourse-cdn.com/inductiveautomation/original/3X/d/c/dce9a0b5533ce78e64c0783cfaa9a356a781c7a1.jpeg)

 ![Capture d’écran, le 2022-02-28 à 09.42.08](https://us1.discourse-cdn.com/inductiveautomation/original/3X/c/f/cfea68d1beae42c0e2ef4c9857a7114e2c411b61.jpeg)

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [February 28, 2022, 2:50pm UTC](https://forum.inductiveautomation.com/t/opc-special-characters/56614/4 "2022-02-28T14:50:49Z")

</div>

It looks like this server has already screwed up the encoding by the time it’s served over OPC UA… you may need to report this as a bug to ABB.

If you can get a Wireshark capture with the connection configured without security we can see exactly what bytes they are sending and verify. It might also be interesting to see what value other UA clients like UaExpert see.

---

<div class="post-metadata">

**Author:** ![Sebastien\_Lefebvre](https://avatars.discourse-cdn.com/v4/letter/s/5e9695/32.png) [@Sebastien\_Lefebvre](https://forum.inductiveautomation.com/u/Sebastien_Lefebvre)\
**Post date:** [February 28, 2022, 3:30pm UTC](https://forum.inductiveautomation.com/t/opc-special-characters/56614/5 "2022-02-28T15:30:20Z")

</div>

I made a little capture with Wireshark and I see that my HEX code a transmitted like it is supposed. It seems to be the OPC UA client in Ignition that doesn’t recognize this code.

 ![Capture d’écran, le 2022-02-28 à 10.27.55](https://us1.discourse-cdn.com/inductiveautomation/original/3X/c/2/c219d90170844c7ccf0f00f7e7640bcf3ff03959.jpeg)

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [February 28, 2022, 3:34pm UTC](https://forum.inductiveautomation.com/t/opc-special-characters/56614/6 "2022-02-28T15:34:30Z")

</div>

That is not encoded correctly: [“è” U+00E8 Latin Small Letter E with Grave Unicode Character](https://www.compart.com/en/unicode/U+00E8)

---

<div class="post-metadata">

**Author:** ![victordcq](https://avatars.discourse-cdn.com/v4/letter/v/f6c823/32.png) [@victordcq](https://forum.inductiveautomation.com/u/victordcq)\
**Post date:** [February 28, 2022, 3:48pm UTC](https://forum.inductiveautomation.com/t/opc-special-characters/56614/7 "2022-02-28T15:48:13Z")

</div>

its an à not è which is e0 so correct

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [February 28, 2022, 3:50pm UTC](https://forum.inductiveautomation.com/t/opc-special-characters/56614/8 "2022-02-28T15:50:25Z")

</div>

Ooops, I linked to the wrong character, but it’s the same conclusion: [“à” U+00E0 Latin Small Letter A with Grave Unicode Character](https://www.compart.com/en/unicode/U+00E0)

His server appears to allow him to drop raw byte sequences into the middle of a String and he’s not putting UTF-8 bytes into it.

---

<div class="post-metadata">

**Author:** ![Sebastien\_Lefebvre](https://avatars.discourse-cdn.com/v4/letter/s/5e9695/32.png) [@Sebastien\_Lefebvre](https://forum.inductiveautomation.com/u/Sebastien_Lefebvre)\
**Post date:** [February 28, 2022, 4:28pm UTC](https://forum.inductiveautomation.com/t/opc-special-characters/56614/9 "2022-02-28T16:28:26Z")

</div>

OK, finally I see that in the ABB AC500 v3, the STRING type is using ASCII encoding and if we want to use UTF-8, we have to use WSTRING … I only have 800 places to change to be OK …

 ![Capture d’écran, le 2022-02-28 à 12.50.15](https://us1.discourse-cdn.com/inductiveautomation/original/3X/b/d/bd701f22fbfb292c75b3ff43be5574951311cd6d.jpeg)

---

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [February 28, 2022, 6:00pm UTC](https://forum.inductiveautomation.com/t/opc-special-characters/56614/10 "2022-02-28T18:00:49Z")

</div>

> [@Sebastien\_Lefebvre](#):
>
> I only have 800 places to change to be OK …

I had to chuckle at this, not because I'm laughing at you, but because I can sympathize.

---

<div class="post-metadata">

**Author:** ![Sebastien\_Lefebvre](https://avatars.discourse-cdn.com/v4/letter/s/5e9695/32.png) [@Sebastien\_Lefebvre](https://forum.inductiveautomation.com/u/Sebastien_Lefebvre)\
**Post date:** [February 28, 2022, 6:18pm UTC](https://forum.inductiveautomation.com/t/opc-special-characters/56614/11 "2022-02-28T18:18:25Z")

</div>

I will survive !!!

With STRING type, I have to use apostrophe ‘bonjour’ for litteral tags, but with WSTRING, they use quotation marks “bonjour”. They’re not interchangeable and cannot be converted.

---

<div class="post-metadata">

**Author:** ![Anton\_Viderlund](https://avatars.discourse-cdn.com/v4/letter/a/8e7dd6/32.png) [@Anton\_Viderlund](https://forum.inductiveautomation.com/u/Anton_Viderlund)\
**Post date:** [February 12, 2026, 2:54pm UTC](https://forum.inductiveautomation.com/t/opc-special-characters/56614/12 "2026-02-12T14:54:03Z")

</div>

![ABB AC500 v3 UTF8](https://us1.discourse-cdn.com/inductiveautomation/original/3X/8/b/8b422d804ce309a10699a115fe23fce5ef505099.png)

For the next guy reading this post 🙂 project\>projectsettings UT8 allround nice ‘m³’
