I am writing a program that a part renders a bitmap font in CP437.
In a function that renders the text with I want to be able to
check whether a char is available in CP437 before the encoding conversion, like:
public static void DrawCharacter(this Graphics g, char c)
{
if (char_exist_in_encoding(Encoding.GetEncoding(437), c) {
…