Hi Bertrand, Bertrand Delacretaz schrieb: > On Mon, Sep 29, 2008 at 8:30 AM, Felix Meschberger (JIRA) > <[EMAIL PROTECTED]> wrote: >> ...Changes in Rev. 699995: >> >> * Only set the default character set if the content type is a text/ content >> type... > > Did you consider the application/xml content type? > > I *think* the response encoding header is not needed in this case, but > I'm not certain.
No, I did not consider. But I think, in general only the text/ types benefit of the character encoding default. If any other content type needs an explicit charcater encoding, the respective script should set it. 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. Regards Felix
