mirror of https://github.com/svaarala/duktape.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
365 B
11 lines
365 B
define: DUK_USE_STRICT_UTF8_SOURCE
|
|
introduced: 1.0.0
|
|
default: false
|
|
tags:
|
|
- ecmascript
|
|
description: >
|
|
Enable strict UTF-8 parsing of source code.
|
|
|
|
When disabled, non-shortest encodings (normally invalid UTF-8) and surrogate
|
|
pair codepoints are accepted as valid source code characters. Disabling
|
|
this option breaks compatibility with some test262 tests.
|
|
|