## Utf8 class


Provides static methods for working with UTF-8 encoded data.

```cpp
class Utf8
```

## Methods

| Method | Description |
| --- | --- |
| static [FromUtf16](./fromutf16/)(ReadOnlySpan\<char16_t\>, Span\<uint8_t\>, int32_t\&, int32_t\&, bool, bool) | Converts a span of UTF-16 characters into a span of UTF-8 bytes. |
| static [IsValid](./isvalid/)(ReadOnlySpan\<uint8_t\>) | Returns true if the provided span contains a valid UTF-8 sequence. |
## See Also

* Namespace [System::Text::Unicode](../)
* Library [Aspose.TeX for C++](../../)
