Forum Moderators: phranque

Message Too Old, No Replies

charset=ISO-8859-1 for PHP

declared in .htaccess file?

         

keyplyr

9:59 am on Feb 17, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month




How would I ammend this to include webpages ending with the .php extension?

AddType 'text/html; charset=ISO-8859-1' html

Thanks

jdMorgan

5:27 pm on Feb 17, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



kp,

Looks like it would be:


AddType 'text/html; charset=ISO-8859-1' html php

Jim

coyote

2:10 am on Feb 19, 2004 (gmt 0)

10+ Year Member



I use a shorter, simple line in .htaccess:

AddDefaultCharset ISO-8859-1

keyplyr

3:07 am on Feb 19, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Thanks coyote

- OR -

According to this [httpd.apache.org]

AddDefaultCharset On

uses the default setting of Apache, which indeed is ISO-8859-1 (even shorter.)