Skip to content

Commit 8673e63

Browse files
committed
Add hotfix for windows unicode problems. Should fix #482 for the time being, but we should keep looking for a better fix
1 parent e693cdb commit 8673e63

File tree

4 files changed

+17
-0
lines changed

4 files changed

+17
-0
lines changed

README.md

+4
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,10 @@ in ./code/ for more information.
9595
**Steve**
9696
- Steven Palmer's work
9797

98+
**WindowsFix**
99+
- Contains registry files for adding and removing the autorun of the command
100+
`chcp 65001`. This is to fix an issue with unicode characters. **ONLY** affects Windows machines.
101+
98102
**code**
99103
- The main folder for Drasil source code and example implementations
100104

WindowsFix/README.md

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
--------------------------
2+
## Fix Unicode Printing (Windows)
3+
--------------------------
4+
5+
Windows command-line default code page does not handle unicode characters properly.
6+
This registry key (cmdAdd65001.reg) will autorun the command to change the code page
7+
on each run of the command-line (ie. cmd).
8+
9+
To remove this autorun command, use the cmdRemoveCHCP65001.reg key.
10+
11+
**NOTE** Back-up your registry before attempting to modify it. Things could break,
12+
in which case you'll need a sane copy to revert to. Do not attempt to modify your
13+
registry if you don't know what you're doing.

WindowsFix/cmdAdd65001.reg

262 Bytes
Binary file not shown.

WindowsFix/cmdRemoveCHCP65001.reg

230 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)