Configuring the .htaccess file
If you. If you want to use a special character table for your site, you will need to create an .htaccess file (or modify the one installed on the server) in the main directory of your site, or depending on your needs, in the folder where you want it to be the character table works. In the .htaccess file we must place the following line:
AddDefaultCharset ISO-8859-1
For ISO-8859-1 character table
AddDefaultCharset UTF-8
For UTF-8 character table