# \[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:** 8\
**Page:** 2

<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 21, 2022, 4:29pm UTC](https://forum.inductiveautomation.com/t/ign-5692-designer-showing-c-as-a-c-in-perspective-label-in-embedded-view/66579/21 "2022-11-21T16:29:35Z")

</div>

> [@nideyijuyidong](#):
>
> I tried both JVM Arguments and ignition.conf, they didn't work.

Thanks for trying. I've kicked the internal ticket's priority up, but there's not much more I can do.

---

<div class="post-metadata">

**Author:** ![gino.miucci](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/gino.miucci/32/19542_2.png) [@gino.miucci](https://forum.inductiveautomation.com/u/gino.miucci)\
**Post date:** [June 22, 2023, 3:05pm UTC](https://forum.inductiveautomation.com/t/ign-5692-designer-showing-c-as-a-c-in-perspective-label-in-embedded-view/66579/22 "2023-06-22T15:05:34Z")

</div>

Still seeing the same issue in 8.1.21 using label text bound to tag (for value) + view parameter (for units).

In designer the view looks OK on its own.

When embedded in another view using either FlexRepeater or EmbeddedView and viewed within the Designer I see the same issue.

When viewing all the views above in Perspective (browser) they render OK.

Original view (Designer):  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/a/0/a0b6993d847be53762413d17ee83b15a85757f16.png)

In Flex Repeater/Embedded View (Designer):  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/6/e/6e281f2f540a8aea064910841e03a5f3fa61d6d3.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:** [June 22, 2023, 4:34pm UTC](https://forum.inductiveautomation.com/t/ign-5692-designer-showing-c-as-a-c-in-perspective-label-in-embedded-view/66579/23 "2023-06-22T16:34:28Z")

</div>

Try converting them to unicode before passing them to the view.  
I've had this happen in popups, passing literals with accents to the popup view made a mess. Adding a little `u` in front of it fixed the issue. So you could try converting to unicode.

You could maybe do it in the view itself, who knows ?

---

<div class="post-metadata">

**Author:** ![Michal\_Goralczyk](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/michal_goralczyk/32/55564_2.png) [@Michal\_Goralczyk](https://forum.inductiveautomation.com/u/Michal_Goralczyk)\
**Post date:** [April 11, 2024, 3:27pm UTC](https://forum.inductiveautomation.com/t/ign-5692-designer-showing-c-as-a-c-in-perspective-label-in-embedded-view/66579/24 "2024-04-11T15:27:05Z")

</div>

I encountered the same problem. Are there any updates on this topic? Has a solution been found?

View - source:

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

Embaded view:

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

---

<div class="post-metadata">

**Author:** ![MSviga](https://avatars.discourse-cdn.com/v4/letter/m/3e96dc/32.png) [@MSviga](https://forum.inductiveautomation.com/u/MSviga)\
**Post date:** [April 12, 2024, 7:37am UTC](https://forum.inductiveautomation.com/t/ign-5692-designer-showing-c-as-a-c-in-perspective-label-in-embedded-view/66579/25 "2024-04-12T07:37:17Z")

</div>

Hopefully this helps someone at least.

I have found out that something happens when setting perspective properties of components (for example text property of a label) via scripting this exact behavior occurs. For me specifically its for the letters "ŠČŽščž". Took me some time to figure out that if you use the `decode()` function on these strings, this then work as expected. So for example you would do `"stringŠČŽ".decode()`.

Since these are quite common in my language, when dealing with string I just automatically use `decode()` regardless of what I expect to be in the string.

Now as far as performance implications go, I have no idea how this affects performance. Someone from IA or someone much smarter than me might be able to shine some light on this.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [April 12, 2024, 12:06pm UTC](https://forum.inductiveautomation.com/t/ign-5692-designer-showing-c-as-a-c-in-perspective-label-in-embedded-view/66579/26 "2024-04-12T12:06:42Z")

</div>

> [@MSviga](#):
>
> "stringŠČŽ"

If you put non-ASCII characters in a jython string constant, like above, it will screw up. Because of its python **2** heritage.

Instead, write jython string constants like so:

```auto
u"stringŠČŽ"

```

That `u` prefix signals unicode treatment. While there may be bugs in Ignition, string constants with unicode that aren't marked as unicode are programmer errors, not Ignition bugs.

---

<div class="post-metadata">

**Author:** ![tebright1](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/tebright1/32/87405_2.png) [@tebright1](https://forum.inductiveautomation.com/u/tebright1)\
**Post date:** [April 17, 2024, 4:01pm UTC](https://forum.inductiveautomation.com/t/ign-5692-designer-showing-c-as-a-c-in-perspective-label-in-embedded-view/66579/27 "2024-04-17T16:01:49Z")

</div>

One more solution.  
I used **Unicode()** to fix my issue.

From a script I did:

```auto
headersNew.append(str(tagName.value)+'\n('+unicode(str(tagUnit.value))+')')

```

---

<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:** [April 24, 2024, 4:52pm UTC](https://forum.inductiveautomation.com/t/ign-5692-designer-showing-c-as-a-c-in-perspective-label-in-embedded-view/66579/28 "2024-04-24T16:52:19Z")

</div>

> [@\[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/20):
>
> We've fixed the underlying issue here; the fix should be available in a nightly build soon, and assuming no issues are found by QA, in a release as soon as 8.1.40 or 8.1.41.

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