tomlj / tomlj

A Java parser for Tom's Obvious, Minimal Language (TOML).
Apache License 2.0
148 stars 27 forks source link

build.gradle: Set source encoding to UTF-8 #51

Closed kPYKx7Ddw4n1aIKZ closed 1 year ago

kPYKx7Ddw4n1aIKZ commented 1 year ago

Set the source encoding to UTF-8.

This fixes some problems on Windows where the character set was incorrectly assumed: https://github.com/tomlj/tomlj/blob/85bd0283a4e120f77f4c6f13e7cdb5dce875f66d/src/test/java/org/tomlj/TomlTest.java#L726