Solved

Php or Apache Default Encoding.

Posted on 2004-04-05
5
1,422 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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
xampp tool 12 48
array_values - reorder after unset? 5 21
javascript: add id amounts 5 46
mysqli insert query problems 4 22
Generating table dynamically is the most common issue faced by php developers.... So it seems there is a need of an article that explains the basic concept of generating tables dynamically. It just requires a basic knowledge of html and little maths…
3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

813 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

17 Experts available now in Live!

Get 1:1 Help Now