Mantis - Resin
Viewing Issue Advanced Details
2140 major always 11-05-07 07:22 11-05-07 14:17
refactor  
ferg  
normal  
closed 3.1.3  
fixed  
none    
none 3.1.4  
0002140: French Character Processing
Forms which have french characters throws error upon submission

java.io.CharConversionException: illegal utf8 encoding at 0x61
[10:15:23.408] at com.caucho.vfs.i18n.UTF8Reader.read(UTF8Reader.java:109)
[10:15:23.408] at com.caucho.vfs.i18n.UTF8Reader.read(UTF8Reader.java:177)
[10:15:23.408] at com.caucho.vfs.AbstractByteToChar.readChar(AbstractByteToChar.java:153)
[10:15:23.408] at com.caucho.vfs.AbstractByteToChar.flush(AbstractByteToChar.java:138)
[10:15:23.408] at com.caucho.vfs.ByteToChar.getConvertedString(ByteToChar.java:82)
[10:15:23.408] at com.caucho.server.connection.Form.parsePostData(Form.java:196)
[10:15:23.408] at com.caucho.server.connection.AbstractHttpRequest.parseQuery(AbstractHttpRequest.java:1950)
I have tried several approaches. If we could force ISO-8859-1. I think we woudl be ok. BTW, Tomcat has no problem processing the same submission.

Notes
(0002440)
ferg   
11-05-07 07:48   
Check your <character-encoding> configuration in the web.xml or resin.conf. The default is UTF-8.

<web-app>
  <character-encoding>UTF-8</character-encoding>
</web-app>
(0002443)
ferg   
11-05-07 14:17   
server/05d3