]> git.webhop.me Git - shellexec.git/commitdiff
- shellexec: try again to fix non-UTF8 paragraph symbol
authorsvenhoefer <svenhoefer@svenhoefer.com>
Wed, 21 Sep 2016 20:00:48 +0000 (22:00 +0200)
committersvenhoefer <svenhoefer@svenhoefer.com>
Wed, 21 Sep 2016 20:00:48 +0000 (22:00 +0200)
text.c

diff --git a/text.c b/text.c
index 49f53f8d444f6e4875a86d2dbac3602690b783bd..3aa8b1bf9285a22562018c8b344c1c51a4f30dad 100644 (file)
--- a/text.c
+++ b/text.c
@@ -106,6 +106,10 @@ void TranslateString(char *src, size_t size)
                                *tptr++ = 0xC3;
                                *tptr++ = su[i];
                                fptr++;
+                       } else if (*fptr == 'ยง') {
+                               *tptr++ = 0xC2;
+                               *tptr++ = 0xa7;
+                               fptr++;
                        } else if (*fptr & 0x80)
                                fptr++;
                        else