Saving Files - Character sets

Prev Next

Introduction

The chosen file format either depends on the format specified in a parameter in the table save() function call, or it refers to the default setting stored in the system variable local settings [ output file character set ]. If not modified by the user, this file contains the value UTF-8. Files saved in UNICODE-format (UTF-8 and UTF-16 formats) will always begin start with corresponding Byte Order Marks. This allows other applications to recognize and interpret the contents correctly. This does effectively apply to Excel when reading comma or tab separated file formats (.csv format).

Text files under Windows contain "carriage return + line feed" line breaks.
Text files under LINUX contain "line feed" line breaks.
You can change the setting with by setting system variable runtime settings [ crlf ] to true (enabled) or false (disabled)

JSON files are always saved in UTF-8 format.