OVMS3/OVMS.V3/components/duktape/config/config-options/DUK_USE_STRICT_UTF8_SOURCE.yaml

12 lines
365 B
YAML

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.