Add functions to insert a unichar as UTF-8, since this is reasonably
authorOwen Taylor <otaylor@redhat.com>
Thu, 19 Jul 2001 14:35:48 +0000 (14:35 +0000)
committerOwen Taylor <otaylor@src.gnome.org>
Thu, 19 Jul 2001 14:35:48 +0000 (14:35 +0000)
commitf37c13dbde8f9d21a95c86c019b27d7dcaa0f4f9
treefc7719b69fec580420b5ca978255ed45315782b6
parent926af68d34875326c0d8ed591b3ade6d86fe5881
Add functions to insert a unichar as UTF-8, since this is reasonably

Fri Jul 13 19:20:06 2001  Owen Taylor  <otaylor@redhat.com>

* glib/gstring.c (g_string_insert/append/prepend_unichar):
Add functions to insert a unichar as UTF-8, since this
is reasonably common.

* glib/gutf8.c glib/gunicode.h (g_utf8_get_char_validated):
New function exposing iterating through possibly invalid/incomplete
UTF-8 to unicode to the outside world.

* glib/gutf8.c (g_utf8_get_char_extended): Fix max_len argument
to be gssize, not gsize.
14 files changed:
ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
glib/gstring.c
glib/gstring.h
glib/gunicode.h
glib/guniprop.c
glib/gutf8.c
tests/unicode-normalize.c