# Encoding Property
> Version: _Available or changed with runtime version 1.0._
Sets a value that specifies which system is applied to the XmlPort for character encoding.
## Applies to
 Xml Port
## Property value
Value|Available or changed with|Description
UTF8|runtime version 1.0|Use UTF-8 encoding with BOM (Byte Order Mark). This is the default value.
UTF16|runtime version 1.0|Use UTF-16 encoding.
ISO88592|runtime version 1.0|Use ISO88592 encoding.
## Syntax
```al
Encoding = UTF16;
```
## Remarks
The three options available for this property are UTF8, UTF16, and ISO88592. UTF8 is the default setting. Information about the encoding system used is inserted into the header of the XML document.
## Related information
devenv-properties

Copyright (c) Microsoft Corporation. CC BY 4.0, https://creativecommons.org/licenses/by/4.0/; code samples MIT. From https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/properties/devenv-encoding-property, MicrosoftDocs/dynamics365smb-devitpro-pb at 828b6ee (2026-11-19). Changed: includes filled in, links to this site, and for agents shortened without dropping a fact. https://jonas-paprotka.de/docs/dev-itpro/developer/properties/devenv-encoding-property/
