Skip to content

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

Open
@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

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions