| Interface type | Mandatory encodings | Default encoding | Automatic encoding detection | Output encoding selection | | ---------------------------- | ------------------- | ----------------------------------- | ---------------------------- | ------------------------- | | User interface, import and export, copy and paste, string constant in SQL | Short and standard | Short | Yes | Yes | | Document (JSON, XML etc.) | Short | Short | Optional | Optional | | System-to-system integration | Binary or short | Binary if possible, otherwise short | Optional | Optional |