2020-05-15 13:41:26 +03:00
|
|
|
---
|
|
|
|
layout: developer-doc
|
|
|
|
title: Source File Encoding
|
|
|
|
category: syntax
|
|
|
|
tags: [syntax, encoding]
|
|
|
|
order: 1
|
|
|
|
---
|
|
|
|
|
|
|
|
# Source File Encoding
|
2020-07-21 15:59:40 +03:00
|
|
|
|
2020-05-15 13:41:26 +03:00
|
|
|
While many modern programming languages are moving in a direction of being
|
|
|
|
liberal with the input they accept, we find that this often leads to the
|
|
|
|
resultant code being more difficult to use.
|
|
|
|
|
|
|
|
This file describes the source file encoding for Enso files.
|
|
|
|
|
|
|
|
<!-- MarkdownTOC levels="2,3" autolink="true" -->
|
|
|
|
|
|
|
|
- [Source Encoding](#source-encoding)
|
|
|
|
- [Indentation](#indentation)
|
|
|
|
|
|
|
|
<!-- /MarkdownTOC -->
|
|
|
|
|
|
|
|
## Source Encoding
|
2020-07-21 15:59:40 +03:00
|
|
|
|
2020-05-15 13:41:26 +03:00
|
|
|
All input source in Enso is UTF-8 encoded.
|
|
|
|
|
|
|
|
## Indentation
|
2020-07-21 15:59:40 +03:00
|
|
|
|
2020-05-15 13:41:26 +03:00
|
|
|
Indentation in Enso is performed using spaces. An indent level is 4 spaces.
|
|
|
|
|
|
|
|
This is intentionally not made configurable.
|