Skip to content

Introduce setDefaultCharset() in AbstractResourceBasedMessageSource #36413

@sbrannen

Description

@sbrannen

Currently, AbstractResourceBasedMessageSource has a setDefaultEncoding() method which accepts the name of the default encoding character set.

Although we have recently made a concerted effort to introduce support for supplying a Charset instead of a character set's name, we overlooked this particular scenario.

In light of that, we should introduce setDefaultCharset(Charset) and Charset getDefaultCharset() methods in AbstractResourceBasedMessageSource and make direct use of the Charset wherever feasible.

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions