> According to "Using Unicode in a Perl CGI script" article on > http://www.lemoda.net/cgi/perl-unicode/index.html the simplest > solution is to just import '-utf8' pragma for CGI module: > > use CGI '-utf8'; > my $value = params('input'); [...] > --- Except it doesn't work for me... > gitweb/gitweb.perl | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl > index 9cf7e71..a7441ef 100755 > --- a/gitweb/gitweb.perl > +++ b/gitweb/gitweb.perl > @@ -10,7 +10,7 @@ > use 5.008; > use strict; > use warnings; > -use CGI qw(:standard :escapeHTML -nosticky); > +use CGI qw(:standard :escapeHTML -nosticky -utf8); > use CGI::Util qw(unescape); > use CGI::Carp qw(fatalsToBrowser set_message); > use Encode; > -- > 1.7.6 > > -- Jakub Narebski Poland -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html