sim: m32c: use UTF-8 encoding

We only support UTF-8 nowadays, so stop using ISO-8859-1.

Maybe we should delete this logic entirely, but for now,
do the bare min conversion to keep it compiling.
This commit is contained in:
Mike Frysinger 2023-12-05 07:48:21 -05:00
parent 1b183017aa
commit 9d4a8c0a2e

View file

@ -221,7 +221,7 @@ mem_put_byte (int address, unsigned char value)
static int old_led = -1;
static char *led_on[] =
{ "\033[31m O ", "\033[32m O ", "\033[34m O " };
static char *led_off[] = { "\033[0m · ", "\033[0m · ", "\033[0m · " };
static char *led_off[] = { "\033[0m · ", "\033[0m · ", "\033[0m · " };
int i;
if (old_led != value)
{