## Encoding::GetEncoding(const String\&) method


Obtiene la codificación por nombre.

```cpp
static EncodingPtr System::Text::Encoding::GetEncoding(const String &name)
```


| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| name | const String\& | [Encoding](../) nombre. |

### ReturnValue

[Encoding](../) of specified name.

## Ver también

* Typedef [EncodingPtr](../../../system/encodingptr/)
* Class [String](../../../system/string/)
* Class [Encoding](../)
* Namespace [System::Text](../../)
* Library [Aspose.Page for C++](../../../)
## Encoding::GetEncoding(const String\&, const EncoderFallbackPtr\&, const DecoderFallbackPtr\&) method


Obtiene la codificación por nombre.

```cpp
static EncodingPtr System::Text::Encoding::GetEncoding(const String &name, const EncoderFallbackPtr &encoder_fallback, const DecoderFallbackPtr &decoder_fallback)
```


| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| name | const String\& | [Encoding](../) nombre. |
| encoder_fallback | const EncoderFallbackPtr\& | Fallback a usar para la codificación. |
| decoder_fallback | const DecoderFallbackPtr\& | Fallback a usar para la decodificación. |

### ReturnValue

[Encoding](../) of specified name.

## Ver también

* Typedef [EncodingPtr](../../../system/encodingptr/)
* Class [String](../../../system/string/)
* Typedef [EncoderFallbackPtr](../../../system/encoderfallbackptr/)
* Typedef [DecoderFallbackPtr](../../../system/decoderfallbackptr/)
* Class [Encoding](../)
* Namespace [System::Text](../../)
* Library [Aspose.Page for C++](../../../)
## Encoding::GetEncoding(int) method


Obtiene la codificación por página de códigos.

```cpp
static EncodingPtr System::Text::Encoding::GetEncoding(int codepage)
```


| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| codepage | int | Número de página de códigos. |

### ReturnValue

[Encoding](../) of specified codepage.

## Ver también

* Typedef [EncodingPtr](../../../system/encodingptr/)
* Class [Encoding](../)
* Namespace [System::Text](../../)
* Library [Aspose.Page for C++](../../../)
## Encoding::GetEncoding(int, const EncoderFallbackPtr\&, const DecoderFallbackPtr\&) method


Obtiene la codificación por página de códigos.

```cpp
static EncodingPtr System::Text::Encoding::GetEncoding(int codepage, const EncoderFallbackPtr &encoder_fallback, const DecoderFallbackPtr &decoder_fallback)
```


| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| codepage | int | Número de página de códigos. |
| encoder_fallback | const EncoderFallbackPtr\& | Fallback a usar para la codificación. |
| decoder_fallback | const DecoderFallbackPtr\& | Fallback a usar para la decodificación. |

### ReturnValue

[Encoding](../) of specified codepage.

## Ver también

* Typedef [EncodingPtr](../../../system/encodingptr/)
* Typedef [EncoderFallbackPtr](../../../system/encoderfallbackptr/)
* Typedef [DecoderFallbackPtr](../../../system/decoderfallbackptr/)
* Class [Encoding](../)
* Namespace [System::Text](../../)
* Library [Aspose.Page for C++](../../../)
