-
Notifications
You must be signed in to change notification settings - Fork 928
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
Sbt server displays weird characters around dates on Windows #7558
Comments
Thanks for the report. Could you tell us what the environment that you are seeing this issue, for example the shell and the console program? Also could you check if this is specific to sbt 1.10.0 or it happens with previous versions? |
Both images are using Windows terminal. (Version: 1.20.11271.0)
Yes, I also see this happening on 1.9.9 |
So I'm guessing that "ΓÇ»" is either an ASCII control sequence or some string in encoding A, misinterpreted by your shell as another encoding B, also known as mojibakeh. If you have some override of JVM parameters, could you try adding |
I ran it in verbose mode, I can see the encoding being UTF-8. I still see the issue.
|
unrelated, but I noticed that this does not work on powershell (it works on regular cmd)
It throws this error:
It seems that on windows/powershell I am not able to override properties that contain a period. This works:
|
Hey I think i found the issue. It uses this character NNBS, this can also be reproduced in scala-cli, or other java tool I think. This might be an issue on how java handles this in windows,.
I don't think it is specific to SBT, so you can probably close it, unless you want to display different format in windows compared to linux. |
steps
Run sbt, for example
problem
Output display weird characters on the timestamps.
This does not happen on WSL (ubuntu), same terminal same font.
expectation
Display date times without the extra characters:
notes
The text was updated successfully, but these errors were encountered: