I try to use the slice filter in order to limit a link to a specific amount of characters. The field that I render is a link field and my code is the following:
{% set title_text = title|render|striptags %} <span>       {{ title_text|length > 65 ?          title_text|slice(0,65)  :          title_text|striptags}} </span> 
Unforturnately some characters like the apostrophe are not rendered appropriately.
So instead of rendering “I’ve learned”, they render “I& #039;ve learned”