viernes, 6 de agosto de 2010

Forcing Apache 2.2 to use browser enconding

Hi !!! It's been so long since the last update, but it's been very difficult to find some time during these 2 months.
Anyway here we go again, Apache by default comes configured with the most popular charset encoding : UTF-8.
This setup can cause some problems when you are not born in the countries where the languaje of Shakespeare is used. If you find yourshelf asking why accents, and european signs are being transformed in question marks, then it's time to comment this setting on httpd.conf:
#AddDefaultCharset UTF-8

and add your setting :

AddDefaultCharset ISO-8859-1

Cheers , and happy holidays!!!