kotlin-spec icon indicating copy to clipboard operation
kotlin-spec copied to clipboard

Introduction to Grammar should specify how encoding for source files is specified

Open mikesamuel opened this issue 6 years ago • 0 comments

Before the lexical grammar it might be worth specifying how a source file is decoded from bytes to code-units.

For example, the Go spec mandates UTF-8

Source code is Unicode text encoded in UTF-8.

Maybe at the top of ¶ Syntax

mikesamuel avatar Oct 15 '19 20:10 mikesamuel