Replace specialchars for non-utf8 websites

As you can see here (https://www.raptor-editor.com/download/example/77b45a4b6bdc141a1090789b1f8495dd8c45ca0d), accentued characters are not displayed correctly if website's encoding is not set to utf8. 

I converted specialchars to fix this.