title: How to assign (display) Unicode UTF-32 (Miscellaneous Symbols and Pictographs) to TLabel.Caption?
body: <p>I want to display <code></code> (<a href="http://www.unicode-symbol.com/u/1F4CD.html" rel="nofollow noreferrer">U+1F4CD - round pushpin</a>) in a <code>TLabel</code> caption (<code>lblLocation</code>) displaying something like : <code>" Pretoria, South Africa"</code>, but I keep getting a weird block-like thing instead.</p>
  
  <p>I have tried pasting the character directly into my source code, but this also results in a weird block-like thing (my source code is UTF-8 encoded).</p>
  
  <p>Before Pasting <code></code>:</p>
  
  <p><a href="https://i.stack.imgur.com/4KvRG.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/4KvRG.png" alt="image"></a></p>
  
  <p>Directly after pasting <code></code>:</p>
  
  <p><a href="https://i.stack.imgur.com/dEDzx.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/dEDzx.png" alt="image"></a></p>
  
  <p>I have also tried using <code>ConvertFromUtf32()</code>, per <a href="https://stackoverflow.com/questions/45919526/">How to convert unicode codepoint like U+1F4DB to char?</a>.</p>
  
  <pre class="lang-pascal prettyprint-override"><code>lblLocation.Caption := lblLocation.Caption + ConvertFromUtf32(StrToInt('$1F4CD'));
  </code></pre>
  
  <p>Running the above code gives this in the caption of the <code>TLabel</code>:</p>
  
  <p><a href="https://i.stack.imgur.com/z87xP.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/z87xP.png" alt="image"></a></p>