## String::ToUtf8String method


将字符串转换为 std::string。使用 UTF-8 编码。

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


### ReturnValue

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

## 另见

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