Show ASCII characters in terminal #10
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This was tested only with dir command but it might work with others as well. This repo doesn't seem to be active anymore, however I'm still creating this PR in case anyone finds these changes useful.
The problem I was having is because cmd in Windows 10 uses a font that doesn't support Shift-J graphs, so when running the dir command it would show question boxes. It worked well with Powershell and chcp 65001 inside cmd (this changed the font automatically), however I prefer my original settings :p So if you also do, this might help you.
What it does is transform the Unicode characters by applying a substraction in some cases and in others it gets the ASCII value from a dictionary.