diff --git a/v2_0/doc/utf8cpp.html b/v2_0/doc/utf8cpp.html index 18a7c03..63e9afd 100644 --- a/v2_0/doc/utf8cpp.html +++ b/v2_0/doc/utf8cpp.html @@ -33,6 +33,10 @@ ul.toc { list-style-type: none; } + p.version { + font-size: small; + font-style: italic; + } --> @@ -56,6 +60,20 @@
+ Available in version 1.0 and later. +
Encodes a 32 bit code point as a UTF-8 sequence of octets and appends the sequence
to a UTF-8 string.
@@ -236,6 +257,9 @@ assert (u[0] ==
utf8::next
+
+ Available in version 1.0 and later.
+
Given the iterator to the beginning of the UTF-8 sequence, it returns the code
point and moves the iterator to the next position.
@@ -277,6 +301,9 @@ assert (w == twochars + 3);
+ Available in version 1.02 and later.
+
Given a reference to an iterator pointing to an octet in a UTF-8 seqence, it
decreases the iterator until it hits the beginning of the previous UTF-8 encoded
@@ -330,8 +357,11 @@ assert (w == twochars);
exception is thrown.
+ Deprecated in version 1.02 and later.
+
Given a reference to an iterator pointing to an octet in a UTF-8 seqence, it
decreases the iterator until it hits the beginning of the previous UTF-8 encoded
@@ -389,6 +419,9 @@ assert (w == twochars);
+ Available in version 1.0 and later.
+
Advances an iterator by the specified number of code points within an UTF-8
sequence.
@@ -431,6 +464,9 @@ assert (w == twochars + 5);
+ Available in version 1.0 and later.
+
Given the iterators to two UTF-8 encoded code points in a seqence, returns the
number of code points between them.
@@ -474,6 +510,9 @@ assert (dist == 2);
+ Available in version 1.0 and later.
+
Converts a UTF-16 encoded string to UTF-8.
+ Available in version 1.0 and later.
+
Converts an UTF-8 encoded string to UTF-16
+ Available in version 1.0 and later.
+
Converts a UTF-32 encoded string to UTF-8.
+ Available in version 1.0 and later.
+
Converts a UTF-8 encoded string to UTF-32.
+ Available in version 1.0 and later.
+
Detects an invalid sequence within a UTF-8 string.
+ Available in version 1.0 and later.
+
Checks whether a sequence of octets is a valid UTF-8 string.
+ Available in version 2.0 and later.
+
Replaces all invalid UTF-8 sequences within a string with a replacement marker.
+ Available in version 1.0 and later.
+
Checks whether a sequence of three octets is a UTF-8 byte order mark (BOM)
utf8::prior
+
- utf8::previous (deprecated, see utf8::prior)
+ utf8::previous
+
utf8::advance
+
utf8::distance
+
utf8::utf16to8
+
utf8::utf8to16
+
utf8::utf8to32
+
utf8::find_invalid
+
utf8::is_valid
+
utf8::replace_invalid
+
utf8::is_bom
+
+ Available in version 2.0 and later. +
Adapts the underlying octet iterator to iterate over the sequence of code points, rather than raw octets. @@ -862,12 +925,15 @@ assert (*it == 0x10346); std::string s = "example"; utf8::iterator i (s.begin(), s.begin(), s.end()); -
+ Available in version 1.0 and later. +
Encodes a 32 bit code point as a UTF-8 sequence of octets and appends the sequence
to a UTF-8 string.
@@ -910,6 +976,9 @@ assert (u[0] ==
utf8::unchecked::next
+
+ Available in version 1.0 and later.
+
Given the iterator to the beginning of a UTF-8 sequence, it returns the code point
and moves the iterator to the next position.
@@ -945,6 +1014,9 @@ assert (w == twochars + 3);
+ Available in version 1.02 and later.
+
Given a reference to an iterator pointing to an octet in a UTF-8 seqence, it
decreases the iterator until it hits the beginning of the previous UTF-8 encoded
@@ -981,6 +1053,9 @@ assert (w == twochars);
+ Deprecated in version 1.02 and later.
+
Given a reference to an iterator pointing to an octet in a UTF-8 seqence, it
decreases the iterator until it hits the beginning of the previous UTF-8 encoded
@@ -1023,6 +1098,9 @@ assert (w == twochars);
+ Available in version 1.0 and later.
+
Advances an iterator by the specified number of code points within an UTF-8
sequence.
@@ -1061,6 +1139,9 @@ assert (w == twochars + 5);
+ Available in version 1.0 and later.
+
Given the iterators to two UTF-8 encoded code points in a seqence, returns the
number of code points between them.
@@ -1096,6 +1177,9 @@ assert (dist == 2);
+ Available in version 1.0 and later.
+
Converts a UTF-16 encoded string to UTF-8.
+ Available in version 1.0 and later.
+
Converts an UTF-8 encoded string to UTF-16
+ Available in version 1.0 and later.
+
Converts a UTF-32 encoded string to UTF-8.
+ Available in version 1.0 and later.
+
Converts a UTF-8 encoded string to UTF-32.
utf8::unchecked::prior
+
utf8::unchecked::previous (deprecated, see utf8::unchecked::prior)
+
utf8::unchecked::advance
+
utf8::unchecked::distance
+
utf8::unchecked::utf16to8
+
utf8::unchecked::utf8to16
+
utf8::unchecked::utf8to32
+ utf8::utf8to32
. It does not
check for validity of the supplied UTF-8 sequence.
+ Available in version 2.0 and later. +
Adapts the underlying octet iterator to iterate over the sequence of code points, rather than raw octets. @@ -1380,8 +1476,8 @@ assert (*un_it == 0x10346); use other means to work with UTF-8 strings. Template functions I describe in this article may be a good step in this direction.
-