I am creating a hexadecimal binary file editor similar to https://hexed.it/. However, for my text editor, I would like to have there be a separate distinguishable character for each of the 256 hexadecimal values. So, is there a font or a character map image containing 256 that corresponds to standard ASCII characters (e.g. the 65th character corresponds to "A," the 66th character corresponds to "B," the 97th character corresponds to "a," etc.) while still each character being recogniseable purely by image. For example, this font/image-map would need to have a distinguishable difference between a regular space and a non-breaking space while still both the regular and non-breaking space looking like spaces.

  • Do note that their is no proper representation of control characters in Unicode (which is what by far all modern fonts use as encoding). That means you cannot 'display' a character with a font code of 0 or 10 or 127. But there is a Unicode block especially designated to allow a visual representation of undisplayable characters: Control pictures (PDF). It even defines a code to display a space. Imagine that. – usr2564301 Jun 28 at 15:30

A quick google and I found this font which seems to have been created for exactly the purpose you want.

enter image description here

https://github.com/dernyn/256

As the name implies all 256 characters are mapped and can be used to view NON-Printable ASCII Characters normally hidden or Ignored by default by the operating system environment and Text Editors.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.