• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Problem of charset in site preview

N

nirosis

Guest
Hello

I want to test my site before changing the DNS
So i use the site preview function of Plesk 7.5

But i have special characters which appear !
IE says that the charset is UTF-8
But in my meta it's ISO-8859-1
And in my httpd.conf, the line AddDefautCharset is commented.

So where is the problem ? i tried many things (with htacces, header()..) but IE and Firefox always says UTF-8 !

Please help !

And is the a tempory URL to view the site whitout 'site preview" and using DNS ???

Kind og http://MyServerIP/MyDomain.com !?!! (just an example, it's doesn't work)

Thank you all
 
I had the same trouble, I think the problem is that Plesk itself runs in UTF8, and Site preview doesn't point to documents themselves, but wraps the whole site in plesk. Therefore, the site shows as if it was in UTF8.

The only solution would be to make Plesk encoding-aware and do some recoding magic in Plesk itself.
 
Back
Top