Solved

Php or Apache Default Encoding.

Posted on 2004-04-05
5
1,420 Views
Last Modified: 2012-08-13
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
Comment
Question by:bac3
  • 2
5 Comments
 
LVL 1

Author Comment

by:bac3
ID: 10762860
AppServ 2.2.0
   -Apache 1.3.28
   -PHP 4.3.3

Bigapache
   -Apache 2.0.46
   -PHP 4.3.2
0
 
LVL 12

Expert Comment

by:Ivanov_G
ID: 10772854

  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
 
LVL 1

Author Comment

by:bac3
ID: 10810131
I fix the problem, just comment out the default char.
0
 

Accepted Solution

by:
modulo earned 0 total points
ID: 12685501
PAQed with points refunded (105)

modulo
Community Support Moderator
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

I imagine that there are some, like me, who require a way of getting currency exchange rates for implementation in web project from time to time, so I thought I would share a solution that I have developed for this purpose. It turns out that Yaho…
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now