AnsweredAssumed Answered

How to get unicode emojis to appear correctly in labels in Pro (they work fine in AGOL)?

Question asked by jknowles@usbr.gov_USBR on Nov 14, 2019
Latest reply on Nov 15, 2019 by jknowles@usbr.gov_USBR

I've got an Arcade expression for labels that works fine in AGOL, but when I try the same thing in Pro, only certain unicode emojis display correctly. Anybody have any ideas on getting them to display correctly?

 

Here's an abbreviated version of the expression:

var code = $feature.behavior1;
var decodedValue = Decode(code,
'Active Nest','★-',
'Agitated','',
'Calling','',
'');

Concatenate(['T', $feature["ter_id"], '|' ,decodedValue, '|', ' (' , $feature.OBJECTID,')'])

 

The emojis show up fine in the Arcade Expression box

 

 

Here are how things look in AGOL:

 

 

And how they look in Pro, some emojis show up fine, but others show up as just a little box:

 

 

I've tried changing fonts and some other Label Class properties, but nothing has helped.

 

I've added the hosted feature layer to a map in Pro, symbology comes in fine, but the labels are shown as above. I also downloaded a fgdb and applied the same label expression to the fgdb feature class and get what is seen above.

 

Pro version is 2.4.2.

 

Thanks.

Outcomes