Codepages
The codepages element contains the registration of custom codepages. The following elements are used to register codepages:
| Element | Type | Purpose | Default |
|---|---|---|---|
| register | element | Registers a codepage |
For further information on custom codepage, please refer to the Codepages section.
Register Element
The register element registers a codepage. The following elements configure the codepage:
| Element | Type | Purpose | Default |
|---|---|---|---|
| name | string | The unique identifier for the codepage | |
| source | string | The full path to .cpg file containing the codepage definition | |
| dbcs | bool | Indicates if the codepage defined uses DBCS | false |
| dbcstable | string | Format of the DBCS table (matrix or pairs) |
matrix |
| encoding | string | Standard name of corresponding encoding. | |
| errorchar | string | DBCS character used to replace DBCS characters causing conversion error (see DBCS Error Management) | ?? |
| asciifallback | bool | If set to true the UNICODE encoding uses an ASCII conversion fallback |
false |
Note
For the list of supported encoding refer to https://docs.microsoft.com/it-it/dotnet/api/system.text.encoding?view=net-5.0