![]() |
Charset problem - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Development Area (/forum-1.html) +--- Forum: General discussion (/forum-11.html) +--- Thread: Charset problem (/thread-1068.html) |
Charset problem - soringo - 07-28-2007 04:17 PM Hi there. I have a problem with special charset and I dont know how to fix it. I have two identical site with special charset. One it's working but the other one not. In my php.ini for this sites I have default_mimetype = "text/html" ;default_charset = "iso-8859-2" I have to mention that I've changed charset for all of them and nothing happend. Please give me an advise. Thx Sorin RE: Charset problem - raphael - 07-29-2007 02:24 AM 1. if it is not a PHP script then check apache's config 2. otherwise, make sure the default_charset's line is not commented ( ; ) 3. you can always fix the charset with a .htaccess RE: Charset problem - soringo - 07-30-2007 03:55 PM raphael Wrote:1. if it is not a PHP script then check apache's config Wow...that's another problem...when I put a .htaccess on site dir I get the "internal server error" 500. RE: Charset problem - raphael - 07-31-2007 01:45 AM it depends on what you set on your .htaccess. Remember that fastcgi+php-cgi is being used, so PHP settings in .htaccess files will not be parsed and apache will throw an error if mod_php isn't loaded RE: Charset problem - soringo - 07-31-2007 02:50 AM raphael Wrote:it depends on what you set on your .htaccess. Hi...I dont use .htaccess ...I use fcgi conf.../var/www/fcgi/domain.tld/php5/php.ini. If I have one domain and lots of subs and each have a different charset there is a problem ....doesn't matter how is default_mimetype, default_charset. An real example: domain.tld use utf-8 sub1 use windows-1250 sub2 use iso-8859-1 sub3 use iso-8859-2 What shoud I set in php.ini for this domain.tld ? thx RE: Charset problem - soringo - 07-31-2007 03:14 AM Ok...problem solved. I found the bug...mistype in php.ini. |