root/Apache-DefaultCharset/trunk/Apache-Test/lib/Apache/TestCharsetModify.pm

Revision 653 (checked in by miyagawa, 18 years ago)

Initial revision

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1 package Apache::TestCharsetModify;
2 use strict;
3 use Apache::DefaultCharset;
4
5 sub handler {
6     my $r = shift;
7     my $charset = Apache::DefaultCharset->new($r);
8     $charset->name('euc-kr');
9     $r->send_http_header('text/html');
10     $r->print("charset:$charset");
11 }
12
13 1;
Note: See TracBrowser for help on using the browser.