|
JISAutoDetect throws Exception on Resin: msg#00051text.xml.resin.user
This line: request.setCharacterEncoding("JISAutoDetect"); run on Resin 2.1.12 throws UnsupportedEncodingException, while on Tomcat 5.0.19 doesn't. It seems that Resin doesn't use sun.io.ByteToCharJISAutoDetect class in the charset.jar. --------------------------- Related question: Why request.getCharacterEncoding() returns null when requester document has the line: <META http-equiv=Content-Type content="text/html; charset=EUC-JP"> ? In other words, from where does this method get the encoding info of the requester document? Why charset entry in the META element isn't used? On both Resin and Tomcat the retrun value of the method is null and the null value is quite useless for I18N related development. And I believe the charset spec in the META element is a mandatory part of HTML4 standard(accoding to their HTML validator!). Thanks in advance for your kind voices. -- Hiroshi Iwatani *stop cruelty* Annual number of institutionally euthanized cats and dogs including kittens and puppies: US 5 million, JP 500 thousand. How about your country? *for our better karma* --------------------- |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | RE: Greedy Resin 3.0.6/Apache 2 mod_caucho with virtual hosts: 00051, Alon J Salant |
|---|---|
| Next by Date: | config-update-interval broken in 2.1.12: 00051, Jean-Francois Lamy |
| Previous by Thread: | Greedy Resin 3.0.6/Apache 2 mod_caucho with virtual hostsi: 00051, Alon J Salant |
| Next by Thread: | config-update-interval broken in 2.1.12: 00051, Jean-Francois Lamy |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |