diff --git a/README.md b/README.md index 624e848..37f3de7 100644 --- a/README.md +++ b/README.md @@ -118,7 +118,7 @@ This is a header-only library and the supported way of deploying it is: - Copy the content of utfcpp/source file into the directory where you keep include files for your project -The CMakeList.txt file was originally made for testing purposes only, but unfortunatelly over time I accepted contributions that added install target. *This is not a supported way of installing the utfcpp library* and I am considering removing the CMakeList.txt in a future release. +The CMakeList.txt file was originally made for testing purposes only, but unfortunately over time I accepted contributions that added install target. *This is not a supported way of installing the utfcpp library* and I am considering removing the CMakeList.txt in a future release. ## Examples of use @@ -839,7 +839,7 @@ assert (utf16result[2] == 0xd834); assert (utf16result[3] == 0xdd1e); ``` -In case of an invalid UTF-8 seqence, a `utf8::invalid_utf8` exception is thrown. +In case of an invalid UTF-8 sequence, a `utf8::invalid_utf8` exception is thrown. @@ -867,7 +867,7 @@ assert (utf16result[2] == 0xd834); assert (utf16result[3] == 0xdd1e); ``` -In case of an invalid UTF-8 seqence, a `utf8::invalid_utf8` exception is thrown. +In case of an invalid UTF-8 sequence, a `utf8::invalid_utf8` exception is thrown. #### utf8::utf32to8 @@ -1083,7 +1083,7 @@ u32string utf32result = utf8to32(twochars); assert (utf32result.size() == 2); ``` -In case of an invalid UTF-8 seqence, a `utf8::invalid_utf8` exception is thrown. +In case of an invalid UTF-8 sequence, a `utf8::invalid_utf8` exception is thrown. @@ -1109,7 +1109,7 @@ u32string utf32result = utf8to32(stringview); assert (utf32result.size() == 2); ``` -In case of an invalid UTF-8 seqence, a `utf8::invalid_utf8` exception is thrown. +In case of an invalid UTF-8 sequence, a `utf8::invalid_utf8` exception is thrown. @@ -1644,7 +1644,7 @@ class iterator; ##### Member functions -`iterator();` the deafult constructor; the underlying octet_iterator is constructed with its default constructor. +`iterator();` the default constructor; the underlying octet_iterator is constructed with its default constructor. `explicit iterator (const octet_iterator& octet_it, const octet_iterator& range_start, const octet_iterator& range_end);` a constructor that initializes the underlying octet_iterator with octet_it and sets the range in which the iterator is considered valid. @@ -2086,7 +2086,7 @@ class iterator; ##### Member functions -`iterator();` the deafult constructor; the underlying octet_iterator is constructed with its default constructor. +`iterator();` the default constructor; the underlying octet_iterator is constructed with its default constructor. `explicit iterator (const octet_iterator& octet_it);` a constructor that initializes the underlying octet_iterator with `octet_it`.