Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,12 @@ std::string utf8::narrow (const char32_t* s, size_t nch=0);
std::string utf8::narrow (const std::u32string& s);
```

The `widen()` function converts from UTF-16:
The `widen()` function converts UTF-8 to UTF-16:
```C++
std::wstring utf8::widen (const char* s, size_t nch);
std::wstring utf8::widen (const std::string& s);
```
The `runes()` function converts from UTF-32:
The `runes()` function converts UTF-8 to UTF-32:
```C++
std::u32string runes (const char* s, size_t nch = 0);
std::u32string utf8::runes (const std::string& s);
Expand Down