You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
changed the title [-]RestClient message converters unable to parse ISO-8859-1 response from remote server[/-][+]RestClient message converters unable to parse ISO-8859-1 response[/+]on Apr 12, 2025
I currently use the workaround described in stacoverflow, and will leave the issue open to see if there is any way to change the messageconverter behaviour to accept a iso bytestream, and convert it, if the defaultCharset has been set on it.
If not then the workaround is acceptable.
I think this is quite similar to #28599 and I think this is doable here by setting the encoding property on the InputSource, if it is provided in the Content-Type header value.
changed the title [-]RestClient message converters unable to parse ISO-8859-1 response[/-][+]JAXB message converters ignore Content-Type charset[/+]on May 19, 2025
Activity
[-]RestClient message converters unable to parse ISO-8859-1 response from remote server[/-][+]RestClient message converters unable to parse ISO-8859-1 response[/+]pax95 commentedon Apr 16, 2025
I currently use the workaround described in stacoverflow, and will leave the issue open to see if there is any way to change the messageconverter behaviour to accept a iso bytestream, and convert it, if the defaultCharset has been set on it.
If not then the workaround is acceptable.
bclozel commentedon May 19, 2025
I think this is quite similar to #28599 and I think this is doable here by setting the encoding property on the
InputSource, if it is provided in the Content-Type header value.[-]RestClient message converters unable to parse ISO-8859-1 response[/-][+]JAXB message converters ignore Content-Type charset[/+]Use Content-Type charset in JAXB message converters
pax95 commentedon May 19, 2025
Great support. Thanks @bclozel
Add Javadoc since for spring-projectsgh-34745
Add Javadoc since for gh-34745