Text Translation (GNAT Reference Manual)

### 12.9 Text Translation ¶

`Text_Translation=xxx` may be used as the Form parameter passed to Text_IO.Create and Text_IO.Open. `Text_Translation=xxx` has no effect on Unix systems. Possible values are:

- `Yes` or `Text` is the default, which means to translate LF to/from CR/LF on Windows systems.

  `No` disables this translation; i.e. it uses binary mode. For output files, `Text_Translation=No` may be used to create Unix-style files on Windows.

- `wtext` translation enabled in Unicode mode. (corresponds to _O_WTEXT).
- `u8text` translation enabled in Unicode UTF-8 mode. (corresponds to O_U8TEXT).
- `u16text` translation enabled in Unicode UTF-16 mode. (corresponds to_O_U16TEXT).