On Mon, Sep 29, 2008 at 10:20 AM, Felix Meschberger <[EMAIL PROTECTED]> wrote: > Bertrand Delacretaz schrieb: >> ...Did you consider the application/xml content type?...
> ...I think especially for application/ types, it is the application's > responsibility to set the correct encoding. In the case of XML, the > encoding should be set by the XML generator anyway.... Ok, fair enough. Note that http://www.rfc-editor.org/rfc/rfc3023.txt says the charset should be present for application/xml [1], so if we have servlets or scripts that generate XML they should call response.setCharacterEncoding(...). -Bertrand [1] "Although listed as an optional parameter, the use of the charset parameter is STRONGLY RECOMMENDED, since this information can be used by XML processors to determine authoritatively the charset of the XML MIME entity. The charset parameter can also be used to provide protocol-specific operations, such as charset-based content negotiation in HTTP."
