Open brcolow opened 6 years ago
Hello,
Given a Java file that contains any license header, and contains a comment that has the following "subscript" Unicode characters:
// (x₁, y₁)
Running licenseFormat on that file mangles the "subscript" characters thusly:
licenseFormat
// (xâ‚?, yâ‚?)
Using git diff, one can see the bytes change from:
(x<E2><82><81>, y<E2><82><81>)
to:
(x<E2><82>?, y<E2><82>?)
The file was encoded in UTF-8.
This is quite a minor issue, but I thought I'd bring it up just in case it isn't intended behavior.
Thanks very much.
Hello,
Given a Java file that contains any license header, and contains a comment that has the following "subscript" Unicode characters:
Running
licenseFormat
on that file mangles the "subscript" characters thusly:Using git diff, one can see the bytes change from:
to:
The file was encoded in UTF-8.
This is quite a minor issue, but I thought I'd bring it up just in case it isn't intended behavior.
Thanks very much.