Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

© in license header file converts to � in source files #28

Open
nixel2007 opened this issue May 13, 2021 · 0 comments
Open

© in license header file converts to � in source files #28

nixel2007 opened this issue May 13, 2021 · 0 comments

Comments

@nixel2007
Copy link

nixel2007 commented May 13, 2021

Hello!

I have a header.txt file with © symbol in it. If I run licenseFormat task, this symbol is inserted as � in java source files.

build.gradle.kts configuration:

license {
    header(file("license/HEADER.txt"))
    charset("UTF-8")
    newLine(false)
    ext["year"] = "2018-" + Calendar.getInstance().get(Calendar.YEAR)
    ext["name"] = "Alexey Sosnoviy <labotamy@gmail.com>, Nikita Gryzlov <nixel2007@gmail.com>"
    ext["project"] = "BSL Language Server"
    exclude("**/*.properties")
    exclude("**/*.xml")
    exclude("**/*.json")
    exclude("**/*.bsl")
    exclude("**/*.os")
    exclude("**/*.txt")
    exclude("**/*.java.orig")
    exclude("**/*.impl")
    exclude("**/*.mockito.plugins.MockMaker")
}

HEADER.txt saved with UTF-8 encoding. plugin version 0.6.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants