Джерело:
blogs.perl.org
Дата публікації:
02/04/2023 16:59
Постійна адреса новини:
http://www.vsinovyny.com/9889125
02/04/2023 16:59 // blogs.perl.org
Hi ! Everyone, I am back here to ask environmental issue.
When I ran the following CGI.pm testing script before placing at /var/www/cgi-bin, but it is still at /home/mkido/bin. Perl script ran successfully at the Terminal, and replied back the OUTPUT below there.
Perl Script, check.pl
#!/usr/bin/env perl
use strict;
use warnings;
use CGI;
my $q = CGI->new;
print $q->header();
print "OK";
===================
OUTPUT
mkido@localhost$check.pl [Enter to run it.]
Content-Type: text/html; charset=ISO-8859-1
OK
mkido@localhost$
This output result evoked my recognition. Is this Rocky 9.1 Web Server running to provide charset=ISO-8859-1 ?? I want to set all replies from the Server to charset=UTF-8. The httpd.conf is already set to charset=UTF-8. Is there any other setting adjustment somewhere in environmental configuration on my server to change from charset=ISO-8859-1 to charset=UTF-8 ?? Thanks, thanks.
| « |
Наступна новина з архіву UK Treasury trying to find a Head of Cyber Security for £55k |
Попередня новина з архіву Ситуація у Чорному морі змінилася: кількість ракетоносіїв РФ зменшилася |
» | |
|
|
||||