Mantis - Resin
Viewing Issue Advanced Details
2180 minor always 11-16-07 13:31 11-29-07 17:58
ferg  
ferg  
normal  
closed 3.1.3  
fixed  
none    
none 3.1.4  
0002180: i18n response.getCharacterEncoding
(rep by Takahiro Fukuda)



[Phenomenon]
When the character encoding of ServletResponse is not set,
ServletResponse#getCharacterEncoding() returns null.
(The phenomenon was confirmed with Resin3.1.3)

[Question]
Is this phenomenon a bug?

In API list of J2EE1.4, it is described as follows.
Explicit specifications take precedence over implicit specifications.
If no charset is specified, ISO-8859-1 will be used.

I think,
When the character encoding of ServletResponse is not set,
ServletResponse#getCharacterEncoding() should return "ISO-8859-1".

--

Notes
(0002542)
ferg   
11-29-07 17:58   
server/0813