## IdnMapping::GetAscii(const String\&) const method


[Convert](../../../system/convert/) unicode domain name to ascii equivalent.

```cpp
String System::Globalization::IdnMapping::GetAscii(const String &unicode) const
```


| Parameter | Type | Description |
| --- | --- | --- |
| unicode | const String\& | [String](../../../system/string/) to convert. |

### ReturnValue

Ascii equivalent of unicode string.

## See Also

* Class [String](../../../system/string/)
* Class [IdnMapping](../)
* Namespace [System::Globalization](../../)
* Library [Aspose.PDF for C++](../../../)
## IdnMapping::GetAscii(const String\&, int) const method


[Convert](../../../system/convert/) unicode domain name to ascii equivalent.

```cpp
String System::Globalization::IdnMapping::GetAscii(const String &unicode, int index) const
```


| Parameter | Type | Description |
| --- | --- | --- |
| unicode | const String\& | [String](../../../system/string/) to convert. |
| index | int | Start index of the substring to convert |

### ReturnValue

Ascii equivalent of unicode string.

## See Also

* Class [String](../../../system/string/)
* Class [IdnMapping](../)
* Namespace [System::Globalization](../../)
* Library [Aspose.PDF for C++](../../../)
## IdnMapping::GetAscii(const String\&, int, int) const method


[Convert](../../../system/convert/) unicode domain name to ascii equivalent.

```cpp
String System::Globalization::IdnMapping::GetAscii(const String &unicode, int index, int count) const
```


| Parameter | Type | Description |
| --- | --- | --- |
| unicode | const String\& | [String](../../../system/string/) to convert. |
| index | int | Start index of the substring to convert |
| count | int | Number of characters to convert. |

### ReturnValue

Ascii equivalent of unicode string.

## See Also

* Class [String](../../../system/string/)
* Class [IdnMapping](../)
* Namespace [System::Globalization](../../)
* Library [Aspose.PDF for C++](../../../)
