On Wednesday, 17 January 2024 at 10:24:31 UTC, Renato wrote:

It's not Java writing the file, it's the bash script [`benchmark.sh`](https://github.com/renatoathaydes/prechelt-phone-number-encoding/blob/master/benchmark.sh#L31):

```
java -cp "build/util" util.GeneratePhoneNumbers 1000 > phones_1000.txt
```


Perhaps using this option when running Java will help:

```
java -DFile.Encoding=UTF-8 ...
```

Reply via email to