comparison libutil/gsm7_encode.c @ 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 34bbb0585cab
children
comparison
equal deleted inserted replaced
66:c8e2a0e89d08 67:1b905e730abd
41 c = '\r'; 41 c = '\r';
42 goto bypass_encoding; 42 goto bypass_encoding;
43 case 'e': 43 case 'e':
44 c = 0x1B; 44 c = 0x1B;
45 goto bypass_encoding; 45 goto bypass_encoding;
46 case 'E': /* Euro currency symbol */
47 c = 0xE5;
48 goto bypass_encoding;
46 case '"': 49 case '"':
47 case '\\': 50 case '\\':
48 break; 51 break;
49 default: 52 default:
50 fprintf(stderr, 53 fprintf(stderr,