|
Mantis - Resin
|
|||||
| Viewing Issue Advanced Details | |||||
|
|
|||||
| ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
| 1035 | minor | always | 04-04-06 03:37 | 04-13-06 09:52 | |
|
|
|||||
| Reporter: | mineral | Platform: | |||
| Assigned To: | ferg | OS: | |||
| Priority: | normal | OS Version: | |||
| Status: | closed | Product Version: | 3.0.18 | ||
| Product Build: | Resolution: | fixed | |||
| Projection: | none | ||||
| ETA: | none | Fixed in Version: | 3.0.19 | ||
|
|
|||||
| 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> |
||||
| Relationships | |||||
| Attached Files: | |||||
| Notes | |||||
|
|
|||||
|
|
||||