I’ve got a problem with html encoding. I work on PSPad. I set utf-8 as charset in my files and utf-8 as a file format and it look fine on localhost but doesn’t on a server.
When i change file format to iso it works on a server but doesn’t on localhost and when i close PSPad and reopen the file it totaly breaks some of the characters.
Do u have any solution? It so annoying! 🙂
thanks
K.
I’ve got a problem with html encoding. I work on PSPad. I set utf-8
Share
Make sure that the foreign server sends a charset declaration as well. What server software do you use? In Apache you could achieve it by adding a .htaccess file with the following content:
Also make sure that you add a
declaration (HTML5) or a
To the HTML file header.
Edit: corrected typos