scalastyle-sbt-plugin icon indicating copy to clipboard operation
scalastyle-sbt-plugin copied to clipboard

Add input file encoding setting.

Open evanbennett opened this issue 7 years ago • 2 comments

Adds scalastyleInputEncoding with default None for backwards compatibility, and passes the value to the required function. Adds a test to confirm UTF-8 character encoding works.

Closes #22

evanbennett avatar Dec 14 '17 00:12 evanbennett

The new test succeeds locally for me. OS: Windows 10 Java: java version "1.8.0_121" Java(TM) SE Runtime Environment (build 1.8.0_121-b13) Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode) sbt: 1.0.2

Can you confirm that it fails in your environment?

evanbennett avatar Dec 15 '17 12:12 evanbennett

Thanks for this. I'll have a look when I have time.

matthewfarwell avatar Jan 02 '18 13:01 matthewfarwell