?
Solved

Php or Apache Default Encoding.

Posted on 2004-04-05
5
Medium Priority
?
1,430 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
Developers of all skill levels should learn to use current best practices when developing websites. However many developers, new and old, fall into the trap of using deprecated features because this is what so many tutorials and books tell them to u…
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
Suggested Courses

762 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