Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1437
  • Last Modified:

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?
0
bac3
Asked:
bac3
  • 2
1 Solution
 
bac3Author Commented:
AppServ 2.2.0
   -Apache 1.3.28
   -PHP 4.3.3

Bigapache
   -Apache 2.0.46
   -PHP 4.3.2
0
 
Ivanov_GCommented:

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

  in httpd.conf add

  AddDefaultCharset WINDOWS-1251

  This should fix the problem
0
 
bac3Author Commented:
I fix the problem, just comment out the default char.
0
 
moduloCommented:
PAQed with points refunded (105)

modulo
Community Support Moderator
0

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now