• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

page encoding wrong

P

perler

Guest
hi,

this is not really plesk related but maybe someone had the problem and knows a solution:

i moved domains from a debian 3.1 server to a debian 4.0 server and migrated from plesk 7.5 to 8.2(.1 later)

i realized, that the apache2 on the new box had a file

/etc/apache2/conf.d/charset

with

AddDefaultCharset UTF-8

in it, which overwrites the default encoding served by apache, which is ISO-8859-1. this broke some of the sites i serve, so i commented this out to have the same configuration like on the old server.

now the strange thing:

this site: http://unsersteuerberater.de worked on the old server, (see here: http://patsplanet.com/us/) it is UTF-8 encoded and the meta statement did overwrite the encoding statement in the header served by apache2.

but on the new server, with the same settings and even with

AddDefaultCharset off

the server declares in the header, this is ISO-8859-1 and all browsers ignore the meta statement which declares this document is encoded in UTF-8 (for instance if you right click in firefox and then "View Page Info")

any idea why this is?

PAT
 
ok, problem solved, it was a default_charset=8859-1 statement in php.ini which took precedence over the meta tag

PAT
 
Back
Top