Encoding issues with '±' on Windows

Aleksey Shipilev aleksey.shipilev at oracle.com
Thu Dec 18 14:42:37 UTC 2014


On 12/18/2014 03:53 PM, Matt Warren wrote:
> Hi
> 
> When I run any JMH Benchmark within the Windows Console, the '±' is
> replaced with a '▒'. This makes the benchmarks a bit confusing when you
> first run them as '±' is used quite a bit.
> 
> I've written up a gist[1] that shows the problem, it's based on
> a StackOverflow answer[2]. The problem is due to default encodings and
> there seems to be a fix/workaround.

Thanks, I have reproduced this on my (dusty) Windows dev machine.

Filed:
 https://bugs.openjdk.java.net/browse/CODETOOLS-7901217

-Aleksey




More information about the jmh-dev mailing list