Link to home
Start Free TrialLog in
Avatar of bac3
bac3

asked on

Php or Apache Default Encoding.

Hi, I recently change my server on window from AppServ 2.2.0 (http://www.appservnetwork.com/) to Bigapache (http://www.bigapache.org/). I got a problem about Encoding that all default encoding of html (<meta http-equiv="Content-Type" content="text/html; charset=big5">) can't function correctly. I don't know where is the problem. i need to use header("Content-Type: text/html;charset=big5"); to avoid users change the encoding from browser themselves. How do i fix it?
Avatar of bac3
bac3

ASKER

AppServ 2.2.0
   -Apache 1.3.28
   -PHP 4.3.3

Bigapache
   -Apache 2.0.46
   -PHP 4.3.2

  I had the same problem with Apache2 but for win1251 - cyrilic enconding

  in httpd.conf add

  AddDefaultCharset WINDOWS-1251

  This should fix the problem
Avatar of bac3

ASKER

I fix the problem, just comment out the default char.
ASKER CERTIFIED SOLUTION
Avatar of modulo
modulo

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial