javascript convert accented characters to html entities

 

 

 

 

To make your script page encoding-independent, declare separate charset for the script itself:

Copyright © 2018.