changeset 67:1b905e730abd

GSM7 encoding: accept \E for Euro currency symbol
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 24 Mar 2021 23:30:14 +0000
parents c8e2a0e89d08
children c5e7c9e1d857
files libutil/gsm7_encode.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libutil/gsm7_encode.c	Wed Mar 24 06:04:40 2021 +0000
+++ b/libutil/gsm7_encode.c	Wed Mar 24 23:30:14 2021 +0000
@@ -43,6 +43,9 @@
 			case 'e':
 				c = 0x1B;
 				goto bypass_encoding;
+			case 'E':		/* Euro currency symbol */
+				c = 0xE5;
+				goto bypass_encoding;
 			case '"':
 			case '\\':
 				break;