title: Unicode emoji not visible in browser (shows a square)
body: <p>I'm trying to get emoji in a dropdown (select tag) menu in my Angular 6 project. I'm using unicode for this. So far I only managed to get some emoji (like &#x2665;) to show. I want emoji like these: &#x1F604;&#x1F610;&#x1F621;  but all I see in the browser is an empty square.</p>
  
  <p>I tried creating a simple, plain html file and than the emoji all show up in the dropdown menu. However, when I try to implement this in the angular template, it doesn't work anymore.
  I also tried downloading the Symbola font and adding it to the CSS, but no luck there either.</p>
  
  <p>This is the template:</p>
  
  <pre><code>&lt;div class="postContainer postContent bg-dark" style="width: 80%;"&gt;
    &lt;form class="postForm" [formGroup]="newPost" (ngSubmit)="saveNewPost()"&gt;
  
      &lt;label class="text-warning label"&gt;Smiley&lt;/label&gt;
      &lt;select formControlName="smiley" class="custom-select mr-sm-2 col form-control-lg" id="inlineFormCustomSelect"
              [ngClass]="{ 'is-invalid': submitted &amp;&amp; f.smiley.errors }"&gt;
  
        &lt;option selected&gt;Choose...&lt;/option&gt;
  
        &lt;!-- Attempt with the Symbola emoji font --&gt;
        &lt;option value="Smiley1"&gt;&lt;span class="emoji"&gt;&amp;#x1F604;&lt;/span&gt;&lt;/option&gt;
  
        &lt;!-- Attempt without the Symbola emoji font --&gt;
        &lt;option value="Smiley2"&gt;&amp;#x1F604;&lt;/option&gt;
  
      &lt;/select&gt;
    &lt;/form&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>In my styles.css the font-face for the Symbola font</p>
  
  <pre><code> @font-face {
     font-family: "emoji", "Symbola";
     src: url("./assets/fonts/emoji/Symbola-Emoji.woff") format("woff"),
          url("./assets/fonts/emoji/Symbola-Emoji.ttf") format("ttf");
    }
  </code></pre>
  
  <p>In the template's CSS file adding the Sybmola and emoji fonts:</p>
  
  <pre><code>.emoji {
    font-family: "emoji", "Symbola";
  }
  </code></pre>
  
  <p>It's weird that it's working in a separate html file, but not within my Angular project. I'm using Visual Studio Code editor, if that matters. Does anyone know what the problem is here?</p>
  
  <p><strong>Update 1:</strong>
  If I copy the emoji itself and place it in a variable in the component:</p>
  
  <pre><code>smiley: any = '';
  </code></pre>
  
  <p>And then enter it in the template:</p>
  
  <pre><code> // Form and select tags...
   &lt;option value="Smiley2"&gt;{{smiley}}&lt;/option&gt;
  </code></pre>
  
  <p>It shows the smileys in the dropdown menu in Firefox, but not in Chrome.</p>
  
  <p><strong>Update 2:</strong>
  It seems to be a Chrome issue. I tested a few random smileys and so far only emoji from unicode 7.0 to 10.0 (<a href="https://emojipedia.org/unicode-7.0/" rel="nofollow noreferrer">https://emojipedia.org/unicode-7.0/</a>) work for the select tag in Chrome, older versions don't. The emoji from other version however do show up in 'normal' tags like paragraph tag. Just not in the option tag of the select menu. All emoji I want to use are part of unicode versions 6.0 and 6.1
  Does anyone know how to solve this issue?</p>
  
  <p><strong>Update 3:</strong>
  So I added a few emoji to the dropdown menu and restarted Angular and Chrome. The emoji all show, even those from unicode version 6. However if I refresh (F5) the page, the emoji from version 6 disappear from the menu. So I guess my problem is now half solved:</p>
  
  <p><a href="https://i.stack.imgur.com/R8Owb.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/R8Owb.png" alt="enter image description here"></a></p>