Skip to content

Allow encoding to be set with a Charset in FreeMarker support #33102

@sbrannen

Description

@sbrannen

Overview

While working on #33071, we noticed that our FreeMarker support still requires the encoding be supplied as a String; whereas, it would be convenient for users to be able to supply the encoding via a Charset -- for example, via constants defined in StandardCharsets.

This applies to the FreeMarker support in spring-context-support, spring-webmvc, and spring-webflux.

Related Issues

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)in: webIssues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions