https://bz.apache.org/bugzilla/show_bug.cgi?id=69552
--- Comment #10 from abernal <[email protected]> --- Proposed fix: https://github.com/apache/tomcat/pull/1159 It skips the CharsetEncoder when the charset is UTF-8 and the value is ASCII. Other cases keep the current path and its error handling. JMH on JDK 21 shows 105 -> 22 ns/op and 280 -> 64 B/op for an ASCII String. -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
