From 8367c03ef07473cff4f1b6f0645e1ce9ae17c94c Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Thu, 12 Nov 2009 22:34:25 -0800 Subject: Fixed broken utf8_from. Added utf8_encode, utf8_decoder_init, utf8_decode. --- ChangeLog | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 82ee1edf..d729a960 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,17 @@ +2009-11-12 Kaz Kylheku + + * utf8.c (utf8_from): Fix total breakage. + Was writing out incomplete wide characters on internal + state transtions while traversing a single multi-byte character. + Also, improved handling of bad bytes close to EOF: if EOF + occurs in a multi-byte character, it will backtrack, + and skip one bad byte, etc. + (utf8_encode, utf8_decoder_init, utf8_decode): New functions. + + * utf8.h (enum utf8_state): New enum. + (struct utf8_decoder, utf8_decoder_t): New struct. + (utf8_encode, utf8_decoder_init, utf8_decode): Declared. + 2009-11-12 Kaz Kylheku Documenting extended characters in man page. -- cgit v1.2.3