00102: Character set should not be hard coded

Summary: Character set should not be hard coded
Created: 2004-10-18 13:03
Status: Closed - already solved
Category: Feature
From: Ken?
Assigned:
Priority:
Version: 2.0.devel13
OS:

Description: The HTTTP header

  "Content-type: text/html; charset=iso-8859-1;");

should not be hardcoded. It should be customisable for language not using this charset.


It is customizable. To use a different charset, just do the following in config.php:

   $HTTPHeaderFmt[] = 'Content-type: text/html; charset=iso-8859-2;';

This will override PmWiki's default content-type header.

This information is now in Cookbook.ContentType.

Pm