TTL file

# Encoding

The Unicode (UTF-8, UTF-16BE, UTF-16LE) can be supported from Tera Term 4.102.

The TTL file was processed as ANSI CodePage in previous version.

## Supporting encoding

encoding | support
--- | ---
Usually (ANSI CodePage) | Support
UTF-8 (with BOM) | Support |
UTF-8 (without BOM) | Support |
UTF-16BE (without BOM) | Not support |
UTF-16LE (without BOM) | Not support |
UTF-16 (with BE BOM) | Support |
UTF-16 (with LE BOM) | Support |
UTF-16 (without BOM = UTF-16BE) | Not support |

## Encoding determination

Tera Term determines the encoding as follows.

When BOM exists
  Tera Term determines one of UTF-8, UTF-16BE and UTF-16LE from BOM type, next reading the file.
When BOM does not exist
  - Reading the file as UTF-8.
  - Reading the file as CP_ACP (same as before 4.102) when the file can not be decoded as UTF-8.