def render(opts = {})
      options = {variant_encoding: true}.merge(opts)
      #decide whether to use the normal unified ID or the variant for encoding to str
      target = (self.variant? && options[:variant_encoding]) ? self.variant : @unified
      EmojiChar::unified_to_char(target)
    end
def render(opts = {})
      options = {variant_encoding: true}.merge(opts)
      #decide whether to use the normal unified ID or the variant for encoding to str
      target = (self.variant? && options[:variant_encoding]) ? self.variant : @unified
      EmojiChar::unified_to_char(target)
    end
Renders an `EmojiChar` to its string glyph representation, suitable for
 printing to screen.

 @option opts [Boolean] :variant_encoding specify whether the variant
   encoding selector should be used to hint to rendering devices that
   "graphic" representation should be used. By default, we use this for all
   Emoji characters that contain a possible variant.

 @return [String] the emoji character rendered to a UTF-8 string