
josh-ic at att
Jul 2, 2009, 8:36 AM
Post #1 of 1
(559 views)
Permalink
|
|
Wrong default charset in Server.pm
|
|
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/ _______________________________________________ interchange-users mailing list interchange-users [at] icdevgroup http://www.icdevgroup.org/mailman/listinfo/interchange-users
|