Name

MV_HTTP_CHARSET —

SYNOPSIS

DESCRIPTION

VARIABLE TYPE

Global variable

EXAMPLES

No examples are available at this time. We do consider this a problem and will try to supply some.

NOTES

AVAILABILITY

MV_HTTP_CHARSET is available in Interchange versions:

4.6.0-5.9.0 (git-head)

SOURCE

Interchange 5.9.0:

Source: lib/Vend/Server.pm
Line 663 (context shows lines 653-667 in respond():655)

}

sub respond {
# $body is now a reference
my ($s, $body) = @_;
#show_times("begin response send") if $Global::ShowTimes;

# 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};

my $status;
return if $Vend::Sent;
if($Vend::StatusLine) {

Source: lib/Vend/CharSet.pm
Line 100 (context shows lines 90-104 in default_charset():98)

# this can/will come in handy.
sub mime_name {
  my $encoding_name = shift;

  $encoding_name =~ s/-strict//i;
  return lc $encoding_name;
}

sub default_charset {
my $c = $Global::Selector{$CGI::script_name};
return $c->{Variable}{MV_HTTP_CHARSET} || $Global::Variable->{MV_HTTP_CHARSET};
}

# this sub taken from the perluniintro man page, for diagnostic purposes
sub display_chars {

AUTHORS

Interchange Development Group

SEE ALSO

DocBook! Interchange!