# \[IGN-5692\]Designer showing °C as Â°C in Perspective Label in Embedded View

**URL:** <https://forum.inductiveautomation.com/t/ign-5692-designer-showing-c-as-a-c-in-perspective-label-in-embedded-view/66579>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [November 16, 2022, 10:33am UTC](https://forum.inductiveautomation.com/t/ign-5692-designer-showing-c-as-a-c-in-perspective-label-in-embedded-view/66579 "2022-11-16T10:33:01Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [November 16, 2022, 10:33am UTC](https://forum.inductiveautomation.com/t/ign-5692-designer-showing-c-as-a-c-in-perspective-label-in-embedded-view/66579/1 "2022-11-16T10:33:01Z")

</div>

v8.1.22

I have a "template" View I'm embedding into another View which has a Label in it that shows a temperature. Below is the label when editing the template View.  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/d/8/d86d6ea0d2c7e8124767edfb5893abca2c104da3.png)

The units show correctly. However when I embed this into another View for display, in the Designer it shows up as Â°C:

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/b/8/b869b6a393c60bb6cd8ac96fcdb7c6bb2c06e3c8.png)

In a standard browser (Chrome) it displays fine, but I'd like to know the reason it displays strangely in the Designer when embedded?

Edit: the template is in my global / parent project.

Edit 2: the binding on the temp label is this:

```auto
{
  "type": "expr",
  "config": {
    "expression": "numberFormat({this.custom.pv}, \u00270.0\u0027) + \u0027 °C\u0027"
  }
}

```

I've tried a simple case and I can't get it to go bad with static text in the label

Edit 3: I've successfully reproduced it by binding the template label to:

```auto
{
  "type": "expr",
  "config": {
    "expression": "\u0027°C\u0027"
  }
}

```

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/9/5/95f2f935eac2d046c92222a0250aebd188f6d78f.png)

Edit 4: This displays correctly:

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/e/5/e51db3b21c167906df286d3d260846ea15dac54b.png)

---

<div class="post-metadata">

**Author:** ![pascal.fragnoud](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pascal.fragnoud/32/24728_2.png) [@pascal.fragnoud](https://forum.inductiveautomation.com/u/pascal.fragnoud)\
**Post date:** [November 16, 2022, 10:36am UTC](https://forum.inductiveautomation.com/t/ign-5692-designer-showing-c-as-a-c-in-perspective-label-in-embedded-view/66579/2 "2022-11-16T10:36:05Z")

</div>

I've had this issue with other symbols:

designer:  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/e/1/e17ab2218f9c4005cbaea0b09172bf0240c57a16.png)

browser:  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/e/6/e6de1b4d25b6ec2fa69fa366e5ca50c15dc4b0f8.png)

8.1.21, this was also happening in (I think) 8.1.14.

edit:  
copy/pasted your binding on a label, and it seems to work fine:  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/3/4/345bab98013d0f07fa611ff07a4bdad5ad58a584.png)

---

<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:** [November 16, 2022, 10:48am UTC](https://forum.inductiveautomation.com/t/ign-5692-designer-showing-c-as-a-c-in-perspective-label-in-embedded-view/66579/3 "2022-11-16T10:48:05Z")

</div>

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/b/2/b2ec9f7289bad12dbe9c37a94daf222cc5f30044.png)  
it seems its really getting converted into this while in jxbrowser

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [November 16, 2022, 10:48am UTC](https://forum.inductiveautomation.com/t/ign-5692-designer-showing-c-as-a-c-in-perspective-label-in-embedded-view/66579/4 "2022-11-16T10:48:21Z")

</div>

Interestingly, the two strings are different.

Expression binding:

```auto
'°C'

```

produces `u'\n\xb0C'`

but binding:

```auto
char(0186) + 'C'

```

produces `u'\n\xbaC'`

ºC °C  
You can even see the difference here. The first (`char(0186)`) is bolder, while Alt+0186 is lighter

---

<div class="post-metadata">

**Author:** ![pascal.fragnoud](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pascal.fragnoud/32/24728_2.png) [@pascal.fragnoud](https://forum.inductiveautomation.com/u/pascal.fragnoud)\
**Post date:** [November 16, 2022, 10:51am UTC](https://forum.inductiveautomation.com/t/ign-5692-designer-showing-c-as-a-c-in-perspective-label-in-embedded-view/66579/5 "2022-11-16T10:51:21Z")

</div>

> **[Unicode Hex Character Code °](https://www.codetable.net/hex/b0)**
>
> Code Table - Alt Codes, Ascii Codes, Entities In Html, Unicode Characters, and Unicode Groups and Categories

> "Symbol Name: Degree Sign"

> **[Unicode Hex Character Code º](https://www.codetable.net/hex/ba)**
>
> Code Table - Alt Codes, Ascii Codes, Entities In Html, Unicode Characters, and Unicode Groups and Categories

> "Symbol Name: Masculine Ordinal Indicator"

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [November 16, 2022, 10:52am UTC](https://forum.inductiveautomation.com/t/ign-5692-designer-showing-c-as-a-c-in-perspective-label-in-embedded-view/66579/6 "2022-11-16T10:52:51Z")

</div>

Oh no! I've been using the wrong little o everywhere for the last 12 years 😵

---

<div class="post-metadata">

**Author:** ![pascal.fragnoud](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pascal.fragnoud/32/24728_2.png) [@pascal.fragnoud](https://forum.inductiveautomation.com/u/pascal.fragnoud)\
**Post date:** [November 16, 2022, 10:53am UTC](https://forum.inductiveautomation.com/t/ign-5692-designer-showing-c-as-a-c-in-perspective-label-in-embedded-view/66579/7 "2022-11-16T10:53:30Z")

</div>

But at least it's _masculine_.

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [November 16, 2022, 10:54am UTC](https://forum.inductiveautomation.com/t/ign-5692-designer-showing-c-as-a-c-in-perspective-label-in-embedded-view/66579/8 "2022-11-16T10:54:44Z")

</div>

Haha. It still produces the same thing though with the Â at the start if I just do `'°C'` though ☹

---

<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:** [November 16, 2022, 10:55am UTC](https://forum.inductiveautomation.com/t/ign-5692-designer-showing-c-as-a-c-in-perspective-label-in-embedded-view/66579/9 "2022-11-16T10:55:43Z")

</div>

very weird why it happens in embeded views only xd  
maybe it uses a different parser? xd

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [November 16, 2022, 10:57am UTC](https://forum.inductiveautomation.com/t/ign-5692-designer-showing-c-as-a-c-in-perspective-label-in-embedded-view/66579/10 "2022-11-16T10:57:24Z")

</div>

I guess for now I'll do the weird `char(176)` method 😕  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/1/5/153d59cd68d8c670ac8b80a1e6b517a0faf22955.png)  
much better!

---

<div class="post-metadata">

**Author:** ![pascal.fragnoud](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pascal.fragnoud/32/24728_2.png) [@pascal.fragnoud](https://forum.inductiveautomation.com/u/pascal.fragnoud)\
**Post date:** [November 16, 2022, 10:59am UTC](https://forum.inductiveautomation.com/t/ign-5692-designer-showing-c-as-a-c-in-perspective-label-in-embedded-view/66579/11 "2022-11-16T10:59:34Z")

</div>

Yea I just replaced my arrows with `char(9660)` and `char(9658)` too.  
Not that it changes much, as the browser rendered them properly, but...

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [November 16, 2022, 11:00am UTC](https://forum.inductiveautomation.com/t/ign-5692-designer-showing-c-as-a-c-in-perspective-label-in-embedded-view/66579/12 "2022-11-16T11:00:26Z")

</div>

yeah it's a bit gross, but it's better than looking at strange characters all day and having the labels spill onto the next line because of them!

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [November 16, 2022, 6:01pm UTC](https://forum.inductiveautomation.com/t/ign-5692-designer-showing-c-as-a-c-in-perspective-label-in-embedded-view/66579/13 "2022-11-16T18:01:17Z")

</div>

Possibly the same root cause as this other thread:

> [@\[IGN-5692\] Tagpaths with åäö not found in Embedded Veiw](https://forum.inductiveautomation.com/t/ign-5692-tagpaths-with-aao-not-found-in-embedded-veiw/56999):
>
> Hi! Just updated to 8.1.15 which solved an issue I had. So far, so good. Now I just found a new issue that is pretty easy to recreate. Tagpaths that contain non-standard letters shows up as “not found” in an Embedded View. Seems to only effect the Designer and everything works when running the project.

I can see Nick is on Windows; @pascal.fragnoud, are you also on Windows?

---

<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:** [November 17, 2022, 7:11am UTC](https://forum.inductiveautomation.com/t/ign-5692-designer-showing-c-as-a-c-in-perspective-label-in-embedded-view/66579/14 "2022-11-17T07:11:05Z")

</div>

i got this too and im on windows

---

<div class="post-metadata">

**Author:** ![pascal.fragnoud](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pascal.fragnoud/32/24728_2.png) [@pascal.fragnoud](https://forum.inductiveautomation.com/u/pascal.fragnoud)\
**Post date:** [November 17, 2022, 7:38am UTC](https://forum.inductiveautomation.com/t/ign-5692-designer-showing-c-as-a-c-in-perspective-label-in-embedded-view/66579/15 "2022-11-17T07:38:16Z")

</div>

The designer is. Not sure if relevant, but ignition is installed on debian.

---

<div class="post-metadata">

**Author:** ![nideyijuyidong](https://avatars.discourse-cdn.com/v4/letter/n/7cd45c/32.png) [@nideyijuyidong](https://forum.inductiveautomation.com/u/nideyijuyidong)\
**Post date:** [November 17, 2022, 9:07am UTC](https://forum.inductiveautomation.com/t/ign-5692-designer-showing-c-as-a-c-in-perspective-label-in-embedded-view/66579/16 "2022-11-17T09:07:28Z")

</div>

All Chinese characters from binding in embedded view are broken.

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [November 17, 2022, 10:13am UTC](https://forum.inductiveautomation.com/t/ign-5692-designer-showing-c-as-a-c-in-perspective-label-in-embedded-view/66579/17 "2022-11-17T10:13:19Z")

</div>

> [@nideyijuyidong](#):
>
> All Chinese characters from binding in embedded view are broken

_That_ would be super annoying!

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [November 17, 2022, 4:14pm UTC](https://forum.inductiveautomation.com/t/ign-5692-designer-showing-c-as-a-c-in-perspective-label-in-embedded-view/66579/18 "2022-11-17T16:14:20Z")

</div>

If any of you can try out the workaround(s) here, that would be helpful:

> [@\[IGN-5692\] Tagpaths with åäö not found in Embedded Veiw](https://forum.inductiveautomation.com/t/ign-5692-tagpaths-with-aao-not-found-in-embedded-veiw/56999/16):
>
> This issue hasn't yet been picked up to be worked on. I had a typo in my earlier sample; you could try -Dfile.encoding=UTF-8 as a JVM argument to the designer launcher and/or providing the file.encoding property as a wrapper.java.additional property in the ignition.conf file. If the problem is a file encoder being created with default platform encoding somewhere, that would force Java on Windows to use a 'better' charset, which might fix this issue.

---

<div class="post-metadata">

**Author:** ![nideyijuyidong](https://avatars.discourse-cdn.com/v4/letter/n/7cd45c/32.png) [@nideyijuyidong](https://forum.inductiveautomation.com/u/nideyijuyidong)\
**Post date:** [November 19, 2022, 2:29am UTC](https://forum.inductiveautomation.com/t/ign-5692-designer-showing-c-as-a-c-in-perspective-label-in-embedded-view/66579/19 "2022-11-19T02:29:23Z")

</div>

I tried both JVM Arguments and ignition.conf, they didn't work.

---

<div class="post-metadata">

**Author:** ![code\_skin](https://avatars.discourse-cdn.com/v4/letter/c/43a26b/32.png) [@code\_skin](https://forum.inductiveautomation.com/u/code_skin)\
**Post date:** [November 19, 2022, 4:09pm UTC](https://forum.inductiveautomation.com/t/ign-5692-designer-showing-c-as-a-c-in-perspective-label-in-embedded-view/66579/20 "2022-11-19T16:09:42Z")

</div>

A work around is to pass in the Unicode to the embedded view and then reference that in your view.

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/1/f/1f9bc86978e17ca9cfb9173812cadd1835195c4f.png)

[Next page](https://forum.inductiveautomation.com/t/ign-5692-designer-showing-c-as-a-c-in-perspective-label-in-embedded-view/66579.md?page=2)
