## String::ToUtf8String method


Converts string to std::string. Uses UTF-8 encoding.

```cpp
std::string System::String::ToUtf8String() const
```


### ReturnValue

[String](../) representation in utf-8.

## See Also

* Class [String](../)
* Namespace [System](../../)
* Library [Aspose.Font for C++](../../../)
