Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001035 [Resin] minor always 04-04-06 03:37 04-13-06 09:52
Reporter mineral View Status public  
Assigned To ferg
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 3.0.19 Product Version 3.0.18
  Product Build
Summary 0001035: CGIServlet not do well with CJK encoding
Description i want to install and deploy awstats tools which written in perl cgi on resin 3.0.18( jdk1.4.2/windows 2000 (Chinese version)/GBK default encoding ).

i had verified the perl script works well and it output the right things ,the html page which contains Chinese character.

but when i use 'http://localhost:8080/awstats.pl?config=localhost', [^] resin show me the right page but error '?????' like characters.

it sees a resin encoding/charset problem.
Steps To Reproduce
Additional Information resin3.0.18 standard
windows 2000 professional (Chinese)
jdk1.4.2 (default encoding gbk,no-iso8859_1)

resin.conf


<web-app-default>
       
       <servlet servlet-name='cgi' servlet-class='com.caucho.servlets.CGIServlet'>
        <init>
        <executable>c:/Perl/bin/perl.exe</executable>
        </init>
       </servlet>
       <servlet-mapping url-pattern='*.cgi' servlet-name='cgi'/>
       <servlet-mapping url-pattern='*.pl' servlet-name='cgi'/>
       <servlet-mapping url-pattern='/cgi-bin/*' servlet-name='cgi'/>
       
     </web-app-default>

      <web-app id="/" document-directory="webapps/resin-doc"/>
      <web-app id='awstats' document-directory='D:\ProjectWork\awstats-6.5\wwwroot\cgi-bin'>
        <character-encoding>GBK</character-encoding>
      </web-app>
      <web-app id='awstatsclasses' document-directory='D:\ProjectWork\awstats-6.5\wwwroot\classes'></web-app>
      <web-app id='awstatscss' document-directory='D:\ProjectWork\awstats-6.5\wwwroot\css'></web-app>
      <web-app id='awstatsicons' document-directory='D:\ProjectWork\awstats-6.5\wwwroot\icon'></web-app>
     
Attached Files

- Relationships

- Notes
(0001088)
ferg
04-13-06 09:52

server/192v
 

- Issue History
Date Modified Username Field Change
04-04-06 03:37 mineral New Issue
04-13-06 09:52 ferg Note Added: 0001088
04-13-06 09:52 ferg Assigned To  => ferg
04-13-06 09:52 ferg Status new => closed
04-13-06 09:52 ferg Resolution open => fixed
04-13-06 09:52 ferg Fixed in Version  => 3.0.19
04-13-06 09:52 ferg Description Updated


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
30 total queries executed.
26 unique queries executed.
Powered by Mantis Bugtracker