eclipse-ee4j / mojarra

Mojarra, a Jakarta Faces implementation
Other
158 stars 107 forks source link

#5383 cleanup facelets encoding management #5385

Closed BalusC closed 5 months ago

BalusC commented 5 months ago

5383

Review/cleanup/refactor all code logic related to managing facelets/request/response encoding and centralized in a new Util#getResponseEncoding() method.

Also took the opportunity to get rid of all hardcoded strings representing "UTF-8" throughout the source code and replace them by StandardCharsets.UTF_8 (.name())