From fe79dd2979840f845d347e250439a1f89ed1de2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Deuc=D0=B5?= <shurd@sasktel.net> Date: Sun, 3 Nov 2024 00:35:08 -0400 Subject: [PATCH] Fix some unicode mappings --- src/conio/utf8_codepages.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/conio/utf8_codepages.c b/src/conio/utf8_codepages.c index 0be160741b..0f4a77b686 100644 --- a/src/conio/utf8_codepages.c +++ b/src/conio/utf8_codepages.c @@ -1472,11 +1472,12 @@ const static struct ciolib_cpmap prestel_table[] = { {0x2192, ']'}, // → {0x2191, '^'}, // ↑ {0x2317, '_'}, // Viewdata square - {'_', '`'}, + {0x2015, '`'}, // Horizontal bar * {0xbc, '{'}, // ¼ + {0x23f8, '|'}, // Double vertical bar * {0xbe, '}'}, // ¾ {0xf7, '~'}, // ÷ - + /* Space */ {0x1fb00, 129}, {0x1fb01, 130}, {0x1fb02, 131}, {0x1fb03, 132}, {0x1fb04, 133}, {0x1fb05, 134}, {0x1fb06, 135}, {0x1fb07, 136}, {0x1fb08, 137}, {0x1fb09, 138}, {0x1fb0a, 139}, @@ -1537,14 +1538,14 @@ const static uint32_t prestel_unicode_table[256] = { 0x00054, 0x00055, 0x00056, 0x00057, 0x00058, 0x00059, 0x0005a, 0x02190, 0x000bd, 0x02192, 0x02191, 0x02317, - 0x0005f, 0x00061, 0x00062, 0x00063, + 0x02015, 0x00061, 0x00062, 0x00063, 0x00064, 0x00065, 0x00066, 0x00067, 0x00068, 0x00069, 0x0006a, 0x0006b, 0x0006c, 0x0006d, 0x0006e, 0x0006f, 0x00070, 0x00071, 0x00072, 0x00073, 0x00074, 0x00075, 0x00076, 0x00077, 0x00078, 0x00079, 0x0007a, 0x000bc, - 0x0007c, 0x000be, 0x000f7, 0x0007f, + 0x023f8, 0x000be, 0x000f7, 0x0007f, 0x00020, 0x1fb00, 0x1fb01, 0x1fb02, 0x1fb03, 0x1fb04, 0x1fb05, 0x1fb06, -- GitLab