[cgiapp] Does CGI::Application::FastCGI support non-ascii Charset?

Lyle webmaster at cosmicperl.com
Sun Jan 2 20:55:34 EST 2011


I remember seeing a Cat thread about the FCGI module having issues with 
wide characters. Do you have the latest dev release of FCGI.pm installed?
http://search.cpan.org/~bobtfish/FCGI/FCGI.PL

Lyle


On 02/01/2011 23:06, Juwei Zhang wrote:
> Hi,
>
> I had developed a site with CA, where page display Chinese  characters. Now I
> switched to CA::FastCGI, all Chinese characters  couldn't be displayed. Does
> CGI::Application::FastCGI support non-ascii  Charset? Below is how I set
> charset.
>
> sub setup {
>    my $self = shift;
>    $self->mode_param(
>      path_info =>  1,
>      param =>  'rm',
>    );
>    $self->query->header(-charset=>'gb2312',-type=>"text/html");
> }
>
>
>   Your help would be greately appreciated!
>
> Juwei Zhang
>
>
>
>
> #####  CGI::Application community mailing list  ################
> ##                                                            ##
> ##  To unsubscribe, or change your message delivery options,  ##
> ##  visit:  http://lists.openlib.org/mailman/listinfo/cgiapp    ##
> ##                                                            ##
> ##  Web archive:   http://lists.openlib.org/pipermail/cgiapp/   ##
> ##  Wiki:          http://cgiapp.erlbaum.net/                 ##
> ##                                                            ##
> ################################################################
>
>


More information about the cgiapp mailing list