Suggestion about the character set mime type
| From: | Kim, Sung-Sik | Date: | Thu, 24 Feb 2000 16:06:29 +0000 |
| Subject: | Suggestion about the character set mime type | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-10864@lists.php.net to get a copy of this message | ||
PHP's default character mime type is ** iso-8859-1 **.
==> header("Content-type: text/html; charset=iso-8859-1");
But, my php character mime type should be ** euc_kr **.
==> header("Content-type: text/html; charset=euc_kr");
if i dont't put this line
header("Content-type: text/html; charset=euc_kr");
in my every script, my all nation character is broken.
It is borning job that i shoud put this line in every script.
my suggestion is
*html_character_set* directive in php.ini
.............. php.ini ..............
html_character_set = "iso-885901"; // "euc_kr" etc...
....................................
Is it possible?
if my writing manner is impolite, sorry for this.
Sorry for poor english.