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

The Html reporter Chinese garbled #1140

Closed
abbenyyyyyy opened this issue Apr 28, 2021 · 0 comments · Fixed by #1182
Closed

The Html reporter Chinese garbled #1140

abbenyyyyyy opened this issue Apr 28, 2021 · 0 comments · Fixed by #1182

Comments

@abbenyyyyyy
Copy link
Contributor

I have custom RuleSet emit Chinese,but the ktlint.html in the Centos7.6 Chinese garbled.
When I insert

<meta http-equiv="Content-Type" Content="text/html; Charset=UTF-8">
to ktlint.html head, can fix the Chinese garbled,please add the code in html reporter,thanks

Expected Behavior

insert

<meta http-equiv="Content-Type" Content="text/html; Charset=UTF-8">
to ktlint.html head.

Observed Behavior

Behavior

Steps to Reproduce

1、add custom RuleSet ktlint "com.github.abbenyyyyyy:ktruleset:1.0.1"
2、task: ./gradlew ktlint

Your Environment

  • Version of ktlint used:ktlint:0.40.0
  • Version of Gradle used (if applicable): Gradle6.5
  • Operating System and version: Centos7.6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants