Files
Matthieu Riegler 918aca03d7 fix(compiler-cli): escape non-ascii characters in ngp string literals
Extend `escapeIdentifier` in `AbstractEmitterVisitor` with an `escapeNonAscii` option and expose a protected `escapeIdentifier` hook so `ngp`'s `ExpressionPrinter` escapes control and non-ASCII code units as `\uXXXX`, matching TypeScript's `escapeNonAsciiString` behavior on synthesized string literals. Add an i18n named placeholder test case (`// i18n(ph=...)`) to the preprocessor goldens and remove the `\uXXXX` normalization from `ngp_emit_normalizer`.
2026-10-20 07:03:15 +02:00
..