• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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