Skip to content

Provide a configuration option to load properties config data files as UTF-8 #28663

@lfz757077613

Description

@lfz757077613

It works well when I set my properties in application.yml directly
But when I set these properties in additional file imported by "spring.config.import" like below, its charset is wrong
Is there some options to set charset for "spring.config.import"? Otherwise I have to use @PropertySource to set charset, but it do not support yml file
image

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions