Unicode via text property

Hello! First of all obligatory thank you for all the amazing work done with TMP, it’s insane how robust and extended it became over the years of your hard work <3.

I have a small issue with Unicode inserted directly in the text. Pasting: “\u00b0 some text” to a text input works just fine, but setting this same value with code will output raw text until the text is marked as dirty again (ex. by typing anything again in the text input). Is there some char/sequence/setting/call I’m missing here?

Simple example code:

using TMPro;
using UnityEngine;

public class TmpTest : MonoBehaviour
{
    public TMP_Text tmp_text;
    public string toPaste;

    private void Start()
    {
        tmp_text.text = toPaste;
    }
}

Unity Version: 2020.3.10f1
Platform: Windows Editor:
TMP version: 3.0.6

I’ve just noticed that my texts from google sheet are automatically escaped while parsed and so is the default unity text input window. Sorry for bother :smile:.