https://www.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/WindowsBestFit/bestfit1252.txt
pub fn toCodepoint(c: u8) u16
pub fn toCodepoint(c: u8) u16 {
return switch (c) {
0x80 => 0x20ac, // Euro Sign
0x82 => 0x201a, // Single Low-9 Quotation Mark
0x83 => 0x0192, // Latin Small Letter F With Hook
0x84 => 0x201e, // Double Low-9 Quotation Mark
0x85 => 0x2026, // Horizontal Ellipsis
0x86 => 0x2020, // Dagger
0x87 => 0x2021, // Double Dagger
0x88 => 0x02c6, // Modifier Letter Circumflex Accent
0x89 => 0x2030, // Per Mille Sign
0x8a => 0x0160, // Latin Capital Letter S With Caron
0x8b => 0x2039, // Single Left-Pointing Angle Quotation Mark
0x8c => 0x0152, // Latin Capital Ligature Oe
0x8e => 0x017d, // Latin Capital Letter Z With Caron
0x91 => 0x2018, // Left Single Quotation Mark
0x92 => 0x2019, // Right Single Quotation Mark
0x93 => 0x201c, // Left Double Quotation Mark
0x94 => 0x201d, // Right Double Quotation Mark
0x95 => 0x2022, // Bullet
0x96 => 0x2013, // En Dash
0x97 => 0x2014, // Em Dash
0x98 => 0x02dc, // Small Tilde
0x99 => 0x2122, // Trade Mark Sign
0x9a => 0x0161, // Latin Small Letter S With Caron
0x9b => 0x203a, // Single Right-Pointing Angle Quotation Mark
0x9c => 0x0153, // Latin Small Ligature Oe
0x9e => 0x017e, // Latin Small Letter Z With Caron
0x9f => 0x0178, // Latin Capital Letter Y With Diaeresis
else => c,
};
}