Repository navigation
Manual: -fexec-charset=cp437 route, CP437 box-drawing and colour references - #423
Merged
Merged
Conversation
From the follow-up on #411. The Character Encoding section offered two routes for a UTF-8 source file (decode as UTF-8, or CP437 with hex escapes); the better third route is CP437 in NinjaTerm with readable glyph literals in the source and GCC's -fexec-charset=cp437, which keeps one byte per glyph in flash and on the wire. It is now listed first, with where to set it in STM32CubeIDE. New CP437 Box-Drawing Reference: the 40 box-drawing bytes grouped by line style, plus blocks and shades, each with decimal and hex. A note explains why 18 of them come out as accented letters when typed with Windows Alt codes on a CP850 (European) install. The SGR section gains a colour table and an example; bold brightening the foreground is now stated (.f31.b shares its colour with .f91). Also fixes the Terminal Font table, which the padding tip had split in two, stranding the System monospace and Custom rows below it.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
From the latest comment on #411.
-fexec-charset=cp437(with where to set it in STM32CubeIDE). One byte per glyph in flash and on the wire, source stays readable. The previous two routes remain..f31.bshares its colour with.f91).Docs build passes; verified in the built HTML that the font table is one table again and the new tables render.