From 45813acefd04892339ae5b08fd7ac2093d65f694 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reimar=20D=C3=B6ffinger?= Date: Thu, 25 Jun 2015 22:42:24 +0200 Subject: [PATCH] Fix encoding of _. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Also allow encoding of ^ in text mode. Signed-off-by: Reimar Döffinger --- iec16022ecc200.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iec16022ecc200.c b/iec16022ecc200.c index 47e4331..f67d1e6 100644 --- a/iec16022ecc200.c +++ b/iec16022ecc200.c @@ -255,7 +255,7 @@ static char ecc200encode(unsigned char *t, int tl, unsigned char *s, int sl, char out[6]; int p = 0; const char *e, - *s2 = "!\"#$%&'()*+,-./:;<=>?@[\\]_", + *s2 = "!\"#$%&'()*+,-./:;<=>?@[\\]^_", *s3 = 0; if (newenc == 'c') { e = " 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";