|
Cookbook /
ContentTypeSummary: How to change PmWiki's default charset or Content-type
Version:
Prerequisites:
Status:
Maintainer: Pm
Categories: Layout, International
QuestionHow can I change PmWiki's default charset or Content-type? AnswerThe content-type that PmWiki uses defaults to " $HTTPHeaders[] = 'Content-type: text/xml'; Or, to change the charset to iso-8859-5: $HTTPHeaders[] = 'Content-type: text/html; charset=iso-8859-5;'; Note that changing the header generally means that the <!DOCTYPE ...> and other header declarations in the layout template should be changed to match. See AlsoContributors
|