enso/docs/syntax/encoding.md
2020-07-21 13:59:40 +01:00

33 lines
734 B
Markdown

---
layout: developer-doc
title: Source File Encoding
category: syntax
tags: [syntax, encoding]
order: 1
---
# Source File Encoding
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
All input source in Enso is UTF-8 encoded.
## Indentation
Indentation in Enso is performed using spaces. An indent level is 4 spaces.
This is intentionally not made configurable.