title: GAS insert emoji into a table
body: <p>I am sending an email that contains a table.</p>
  <p>The output is a table in the email where the first column should be the emoji follow by the name and date.</p>
  <p>When I tried to put the emoji into the column of my array, the output in the column 1 of the table is a black ? triangle.</p>
  <p>My code snippet is below -</p>
  <pre><code>for (let indx =0; indx&lt;empDates.length; ++indx){
    if (empDates[indx][startMonthIndx]!=&quot;&quot;) {
      var tempDate = new Date(empDates[indx][startMonthIndx+1]);
      if (tempDate.getMonth() &gt;= monDate.getMonth() &amp;&amp; tempDate.getDate() &gt;= monDate.getDate() &amp;&amp; tempDate.getMonth() &lt;= sunDate.getMonth() &amp;&amp; tempDate.getDate()&lt;= sunDate.getDate()) {
        var emojiType = empDates[indx][startMonthIndx];
  
        if (emojiType.indexOf(&quot;(B)&quot;)==0) {
          var emojiIcon = '';
        } else {
          var emojiIcon = '';
        }
  
        thisWeekReminder.push(emojiIcon, [empDates[indx][startMonthIndx], empDates[indx][startMonthIndx+1]]);
      }
  
      if (startMonth != endMonth) {
        tempDate = new Date(empDates[indx][startMonthIndx+3]);
        if (empDates[indx][startMonthIndx+2]!=&quot;&quot;) {
          if (tempDate.getMonth() &gt;= monDate.getMonth() &amp;&amp; tempDate.getDate() &gt;= monDate.getDate() &amp;&amp; tempDate.getMonth() &lt;= sunDate.getMonth() &amp;&amp; tempDate.getDate()&lt;= sunDate.getDate()) {
            var emojiType = empDates[indx][startMonthIndx];
  
            if (emojiType.indexOf(&quot;(B)&quot;)==0) {
              var emojiIcon = '';
            } else {
              var emojiIcon = '';
            }
    
            thisWeekReminder.push(emojiIcon, [empDates[indx][startMonthIndx+2], empDates[indx][startMonthIndx+3]]);
          }
        }
      }
    }
  }
  
  const htmlTemplate = HtmlService.createTemplateFromFile('emailTable');
  
  htmlTemplate.name = name;
  htmlTemplate.specialDate = specialDate;
  htmlTemplate.tablerangeValue = thisWeekReminder;
  
  const htmlForEmail = htmlTemplate.evaluate().getContent();
  
  var toEmail = emailAddr[0][0];
  var ccEmail = &quot;&quot;;
  
  for (let i=1; i&lt;emailAddr.length; ++i) {
    if (emailAddr[i][0] != &quot;&quot;) {
      if (i=1) {
        ccEmail = emailAddr[i][0];
      } else {
        ccEmail = ccEmail + &quot;,&quot; + emailAddr[i][0];
      }
    }
  }
  
  MailApp.sendEmail({
  to: toEmail,
  cc: ccEmail,
  subject: &quot;REMINDER: This week's Birthdays and Anniversaries&quot;,
  htmlBody:htmlForEmail
    });
  </code></pre>
  <p>}
  }</p>