Next: , Previous: Filenames encoding, Up: The Implementation of Standard I/O


11.12 File content encoding

For text files it is possible to specify the encoding to use. This is controlled by the by the GNAT_CCS_ENCODING environment variable. And if not set TEXT is assumed.

The possible values are those supported on Windows:

`TEXT'
Translated text mode
`WTEXT'
Translated unicode encoding
`U16TEXT'
Unicode 16-bit encoding
`U8TEXT'
Unicode 8-bit encoding

This encoding is only supported on the Windows platform.