pt., 2 sty 2026 o 16:15 Ing. Andrea Vettori <[email protected]> napisał(a):
> Thanks I will create the JIRA ticket.

Great, thanks a lot!

> However I don’t understand your answer about my first question.
> What is the cause I always find the charset even if it’s not specified as a 
> parameter ? For example if content type is application/pdf served from 
> StreamResult I find it adds the charset even with no charset parameter on the 
> struts.xml.

See this code fragment in Dispatcher
https://github.com/apache/struts/blob/main/core/src/main/java/org/apache/struts2/dispatcher/Dispatcher.java#L939-L953

and default encoding is always set to UTF-8
https://github.com/apache/struts/blob/main/core/src/main/resources/org/apache/struts2/default.properties#L27


Cheers
Łukasz

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to