Re-introduce pretty-printing of combining characters.
authorLudovic Courtès <ludo@gnu.org>
Tue, 14 Sep 2010 22:52:40 +0000 (00:52 +0200)
committerLudovic Courtès <ludo@gnu.org>
Tue, 14 Sep 2010 23:02:54 +0000 (01:02 +0200)
commit33d92fe6ca726a51c079a6524c18217bbe371cee
treef61494c78917caff6560c6c031680b6e7c51cce1
parent27fdb7037330dcf913bfc556bdc419347edda1bf
Re-introduce pretty-printing of combining characters.

This had been removed by commit 07f49ac786e0f1c007eb336e2fb7a572e8405316
("Factorize and optimize `write' for strings and characters.").
Thanks Mike!

* libguile/print.c (write_combining_character): New procedure.
  (write_character): Use it.

* test-suite/tests/chars.test ("basic char handling")["combining accent
  is pretty-printed", "combining X is pretty-printed"]: New tests.

* test-suite/tests/encoding-iso88591.test ("characters")["write A
  followed by combining accent"]: New test.

* test-suite/tests/encoding-utf8.test ("characters")["write A followed
  by combining accent"]: New test.
libguile/print.c
test-suite/tests/chars.test
test-suite/tests/encoding-iso88591.test
test-suite/tests/encoding-utf8.test