[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[tyndur-devel] [PATCH] vterm: Ein paar Unicode-Anführungszeichen



+ vterm: Ersatzdarstellung für die verschiedenen Varianten von einfachen
  und doppelten Anführungszeichen, die Unicode so hat

Signed-off-by: Kevin Wolf <kevin@xxxxxxxxxx>
---
 src/modules/vterm/utf8.c | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/src/modules/vterm/utf8.c b/src/modules/vterm/utf8.c
index bd47fa0..3d3cb21 100644
--- a/src/modules/vterm/utf8.c
+++ b/src/modules/vterm/utf8.c
@@ -116,6 +116,14 @@ struct {
     {0x0003C3, 0xE5}, // GREEK SMALL LETTER SIGMA
     {0x0003C4, 0xE7}, // GREEK SMALL LETTER TAU
     {0x0003C6, 0xED}, // GREEK SMALL LETTER PHI
+    {0x002018, '\''}, // LEFT SINGLE QUOTATION MARK
+    {0x002019, '\''}, // RIGHT SINGLE QUOTATION MARK
+    {0x00201A, '\''}, // SINGLE LOW-9 QUOTATION MARK
+    {0x00201B, '\''}, // SINGLE HIGH-REVERSED-9 QUOTATION MARK
+    {0x00201C,  '"'}, // LEFT DOUBLE QUOTATION MARK
+    {0x00201D,  '"'}, // RIGHT DOUBLE QUOTATION MARK
+    {0x00201E,  '"'}, // DOUBLE LOW-9 QUOTATION MARK
+    {0x00201F,  '"'}, // DOUBLE HIGH-REVERSED-9 QUOTATION MARK
     {0x002022, 0x07}, // BULLET
     {0x00203C, 0x13}, // DOUBLE EXCLAMATION MARK (!!)
     {0x00207F, 0xFC}, // SUPERSCRIPT LATIN SMALL LETTER N (^n)
-- 
2.1.4