Simple (?) dynamic text issue

Hi there, I have some text which is dynamically loaded, but when I use special characters (é, &, etc.) they either don’t appear or the website starts to lag heavily. Do I need to add some script so that these characters can be displayed without any problems? Cheers!