rnetuka opened a new pull request, #15958: URL: https://github.com/apache/camel/pull/15958
Issue: https://issues.apache.org/jira/browse/CAMEL-21199 In Jackson 2.18-, when using marshalling with UTF-8 generator (which is used undercover by Camel), they return 4-byte characters as a surrogate pair, escaped. This PR uses the new feature in 2.18 which, when turned on, combines the surrogates into a one character when before flushing the output. Switching the UTF-8 generator with writer, which was providing the same job, but might have performace impact, is no longer needed. I'd love to hear your opinion on these changes. If you confirm, I'd suggest to: * remove JacksonMarshalUseWriterTest, since I believe it was added only for the temporary solution with the writer and is no longer needed * enabling combineUnicodeSurrogates by default since I believe most Camel users working with 4-byte characters because of their native language would prefer this behavior Also, I'd like to ask you to provide me with a docs link where I can describe this behavior. Thank you! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
