diff --git a/LOG b/LOG index 912e3850e..129fd6eeb 100644 --- a/LOG +++ b/LOG @@ -260,3 +260,7 @@ except that combining characters are not treated correctly for line-wrapping. this addresses github issue #32 and part of issue #81. c/expeditor.c, s/expeditor.ss +- moved s_ee_write_char function within the WIN32 check to allow the unicode + change to compile on windows. unicode is not yet supported in the windows + version of the repl. + c/expeditor.c diff --git a/boot/i3nt/petite.boot b/boot/i3nt/petite.boot old mode 100644 new mode 100755 index f21cf6485..6f3d8291e Binary files a/boot/i3nt/petite.boot and b/boot/i3nt/petite.boot differ diff --git a/boot/i3nt/scheme.boot b/boot/i3nt/scheme.boot old mode 100644 new mode 100755 index 7b1a639e7..1b10c9f1d Binary files a/boot/i3nt/scheme.boot and b/boot/i3nt/scheme.boot differ diff --git a/c/expeditor.c b/c/expeditor.c index 34779cd3b..8541f26bd 100644 --- a/c/expeditor.c +++ b/c/expeditor.c @@ -521,6 +521,11 @@ static ptr s_ee_get_clipboard(void) { return x; } +static void s_ee_write_char(INT c) { + if ((unsigned)c > 255) c = '?'; + putchar(c); +} + #else /* WIN32 */ #ifdef SOLARIS #define NCURSES_CONST @@ -1012,8 +1017,6 @@ static ptr s_ee_get_clipboard(void) { } #endif -#endif /* WIN32 */ - static void s_ee_write_char(wchar_t wch) { locale_t old; char buf[MB_LEN_MAX]; size_t n; @@ -1027,6 +1030,8 @@ static void s_ee_write_char(wchar_t wch) { uselocale(old); } +#endif /* WIN32 */ + static void s_ee_flush(void) { fflush(stdout); }