OWASP/owasp-java-encoder

Unicode character escapes are encoded again by Encoder.forHtml()

indra2gurjar opened this issue · 2 comments

if the input string contains unicode escaped character e.g. ✅
the output is "& amp ;#9989;"
the '&' character is encoded again.
Does Encoder support unicode escaped characters and it is a bug or this is not supported?

This is not something we can fix, it's about proper use of the library.