how can I use special Font awesome character in Twig link()? How can I use a special Font awesome character instead of the text parameter with `link($text, $url, $attributes)?

I tried the following code for the Contact us button, but it doesn't show the envelope symbol properly. Instead, it shows #xf0e0;.

{{ link('&amp;#xf0e0;', 'base:contact', { 'class':['fa', 'fa-lg'] }) }}`


Is there any way to output that symbol without using the fa-envelope CSS class?
The point of the FontAwesome selectors is that you do not need to print out the Unicode equivalent for the character. FontAwesome usually works by adding a pseudo element before or after the HTML element using the class.

In this case, use the fa fa-envelope classes and optionally add in a class to hide the text with a text-indent or something.

{{ link('Contact Us', 'base:contact', { 'class':['fa', 'fa-envelope', 'fa-lg', 'contact-us-link'] }) }}