Fix dumping of Unicode control codes
authorPetri Lehtinen <petri@digip.org>
Sat, 4 Jul 2009 19:02:16 +0000 (22:02 +0300)
committerPetri Lehtinen <petri@digip.org>
Thu, 9 Jul 2009 17:59:52 +0000 (20:59 +0300)
commit6b14df13cc1b453d0cc277d0ba50cbabc2745089
tree9da899e230d896bfa4dc4766e9e0f142f858d314
parentf9c2a113bb09a4ccff3f7ba92d639ad3b40ee693
Fix dumping of Unicode control codes

Inside strings, All UTF-8 characters except for \, " and Unicode
control codes are dumped as-is. The control codes that have a special
one-character escape use that escape, and other control codes are
dumped using the \uXXXX escape.
src/dump.c