mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-20 11:40:18 +02:00
write-char should handle UCS-4 characters
* libguile/print.c (scm_write_char): call UCS-4 printing routine, instead of 8-bit primitive
This commit is contained in:
parent
5f5e7a2cd6
commit
3d03f9395e
1 changed files with 2 additions and 2 deletions
|
@ -1216,8 +1216,8 @@ SCM_DEFINE (scm_write_char, "write-char", 1, 1, 0,
|
|||
|
||||
SCM_VALIDATE_CHAR (1, chr);
|
||||
SCM_VALIDATE_OPORT_VALUE (2, port);
|
||||
|
||||
scm_putc ((int) SCM_CHAR (chr), SCM_COERCE_OUTPORT (port));
|
||||
|
||||
scm_i_charprint (SCM_CHAR (chr), SCM_COERCE_OUTPORT (port));
|
||||
#if 0
|
||||
#ifdef HAVE_PIPE
|
||||
# ifdef EPIPE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue