From 62d28b24c35317f9730cd661a1f4d25f1b24e4a8 Mon Sep 17 00:00:00 2001 From: Ralf Stephan Date: Tue, 19 Sep 2006 20:48:15 +0000 Subject: ustring(const ustring& src, size_type i, size_type n=npos) and 2006-09-19 Ralf Stephan * glib/glibmm/ustring.h: ustring(const ustring& src, size_type i, size_type n=npos) and ustring(const char* src, size_type n) constructors: In the reference documentation, mention explicitly that n is the number of _UTF-8_ characters, rather than ASCII characters (bytes). --- glib/glibmm/ustring.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'glib/glibmm') diff --git a/glib/glibmm/ustring.h b/glib/glibmm/ustring.h index ccbe0999..b656bde3 100644 --- a/glib/glibmm/ustring.h +++ b/glib/glibmm/ustring.h @@ -269,13 +269,13 @@ public: /*! Construct a ustring as a copy of a substring. * @param src %Source ustring. * @param i Index of first character to copy from. - * @param n Number of characters to copy (defaults to copying the remainder). + * @param n Number of UTF-8 characters to copy (defaults to copying the remainder). */ ustring(const ustring& src, size_type i, size_type n=npos); /*! Construct a ustring as a partial copy of a C string. * @param src %Source C string encoded as UTF-8. - * @param n Number of characters to copy. + * @param n Number of UTF-8 characters to copy. */ ustring(const char* src, size_type n); -- cgit v1.2.1