#include "ucs4_iterator_base.hpp"#include "unicode_types.hpp"#include "ucs4_convert_impl.hpp"#include "unicode_cast.hpp"#include <string>#include <vector>

Go to the source code of this file.
Namespaces | |
| utf16 | |
| For Win32 API. | |
| utf8 | |
| Functions for converting Unicode wide-char strings to UTF-8 encoded strings, back and forth. | |
Typedefs | |
| typedef ucs4::iterator_base < utf16::string, ucs4_convert_impl::convert_impl < char_t >::type > | utf16::iterator |
| typedef ucs4::iterator_base < std::string, ucs4_convert_impl::convert_impl < char_t >::type > | utf8::iterator |
Functions | |
| utf8::string | utf8::lowercase (const utf8::string &s) |
| Returns a lowercased version of the string. More... | |
| size_t | utf8::index (const utf8::string &str, const size_t index) |
| Codepoint index corresponding to the nth character in a UTF-8 string. More... | |
| size_t | utf8::size (const utf8::string &str) |
| Length in characters of a UTF-8 string. More... | |
| utf8::string & | utf8::insert (utf8::string &str, const size_t pos, const utf8::string &insert) |
| Insert a UTF-8 string at the specified position. More... | |
| utf8::string & | utf8::erase (utf8::string &str, const size_t start, const size_t len=std::string::npos) |
| Erases a portion of a UTF-8 string. More... | |
| utf8::string & | utf8::truncate (utf8::string &str, const size_t size) |
| Truncates a UTF-8 string to the specified number of characters. More... | |
| void | utf8::truncate_as_ucs4 (utf8::string &str, const size_t size) |
| Truncates a UTF-8 string to the specified number of characters. More... | |
1.8.8