Configure encoding by file extension
Answered
Hi there,
our Java source code is encoded using ISO 8859-1 (Latin1). For a gradual migration to UTF-8 we want to set the encoding of our Gradle build logic files (Kotlin DSL) to UTF-8. The default file encoding in the `.idea/encodings.xml` is currently set to ISO 8859-1 and there is a `<file url="…" charset="UTF-8" />` entry for every file which should be handled differently. Does the .idea/encodings.xml file support ant-style patterns or is there any other way to configure this?
Best Regards
Daniel
Please sign in to leave a comment.
The path can be a file or a directory. Wildcards are not supported. See https://www.jetbrains.com/help/idea/2024.2/settings-file-encodings.html.