changeset 69:4c475732660b

accept \E for Euro when reading from files too
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 25 Mar 2021 00:18:37 +0000
parents c5e7c9e1d857
children ce3752d3d3b4
files libutil/alpha_fromfile.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libutil/alpha_fromfile.c	Thu Mar 25 00:04:08 2021 +0000
+++ b/libutil/alpha_fromfile.c	Thu Mar 25 00:18:37 2021 +0000
@@ -47,6 +47,9 @@
 			case 'e':
 				c = 0x1B;
 				goto bypass_encoding;
+			case 'E':		/* Euro currency symbol */
+				c = 0xE5;
+				goto bypass_encoding;
 			case '"':
 			case '\\':
 				break;