forked from hendriknielaender/zBench
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add windows encoding issue to README.md (hendriknielaender#50)
* chore: add windows encoding note * chore: add zig issue link * chore: add windows encoding issue to README.md
- Loading branch information
1 parent
f88d20b
commit fd2ba89
Showing
2 changed files
with
16 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,15 @@ | ||
### Advanced | ||
## Advanced | ||
|
||
TODO | ||
### Note for Windows Users | ||
|
||
If you encounter issues with character encoding, such as misrepresentation of "plusminus" (±) or "sigma" (σ) symbols in the benchmark results, it's likely due to Windows using UTF-16 LE encoding by default. To ensure characters are displayed correctly, you can switch your system to use UTF-8 encoding by following these steps: | ||
|
||
1. Open **Control Panel**. | ||
2. Navigate to **Region** > **Administrative** tab. | ||
3. Click on **Change system locale...**. | ||
4. Check the option for **Beta: Use Unicode UTF-8 for worldwide language support**. | ||
5. Click **OK** and restart your computer if prompted. | ||
|
||
This setting will configure your system to use UTF-8 encoding for non-Unicode programs, which should resolve any character display issues in the benchmark output. | ||
|
||
[Zig console output encoding issue](https://github.com/ziglang/zig/issues/7600#issuecomment-753563786) |