• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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