[ic] Wrong default charset in Server.pm
Josh Lavin
josh-ic at att.net
Thu Jul 2 15:36:57 UTC 2009
Currently defaults to "iso8859-1", but should be "iso-8859-1":
--- lib/Vend/Server.pm.orig 2009-07-02 11:33:11.000000000 -0400
+++ lib/Vend/Server.pm 2009-07-02 11:33:23.000000000 -0400
@@ -558,7 +558,7 @@
# Safe kludge: duplicate Vend::CharSet::default_charset method here
# so that $Document->send() will work from within Safe
my $c = $Global::Selector{$CGI::script_name};
- my $response_charset = $c->{Variable}{MV_HTTP_CHARSET} ||
$Global::Variable->{MV_HTTP_CHARSET} || 'iso8859-1';
+ my $response_charset = $c->{Variable}{MV_HTTP_CHARSET} ||
$Global::Variable->{MV_HTTP_CHARSET} || 'iso-8859-1';
my $status;
return if $Vend::Sent;
--
Josh Lavin
Perusion -- Expert Interchange Consulting http://www.perusion.com/
More information about the interchange-users
mailing list