Title: Support braced Unicode escapes · Issue #67279 · angular/angular · GitHub
Open Graph Title: Support braced Unicode escapes · Issue #67279 · angular/angular
X Title: Support braced Unicode escapes · Issue #67279 · angular/angular
Description: Which @angular/* package(s) are relevant/related to the feature request? compiler Description Angular template expressions currently do not support ES6 braced Unicode escapes (e.g. \u{1F600}) in string literals. This limits the ability t...
Open Graph Description: Which @angular/* package(s) are relevant/related to the feature request? compiler Description Angular template expressions currently do not support ES6 braced Unicode escapes (e.g. \u{1F600}) in st...
X Description: Which @angular/* package(s) are relevant/related to the feature request? compiler Description Angular template expressions currently do not support ES6 braced Unicode escapes (e.g. \u{1F600}) in st...
Opengraph URL: https://github.com/angular/angular/issues/67279
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Support braced Unicode escapes","articleBody":"### Which @angular/* package(s) are relevant/related to the feature request?\n\ncompiler\n\n### Description\n\nAngular template expressions currently do not support ES6 braced Unicode escapes (e.g. `\\u{1F600}`) in string literals. This limits the ability to represent modern Unicode code points (such as emoji and historic scripts) directly in templates.\n\n### Minimal reproduction\n```html\n\u003cdiv>{{ '\\u{1F600}' }}\u003c/div>\n```\n**Expected:** Renders 😀\n**Actual:** Renders the literal string `\\u{1F600}` or an error.\n\n### Proposed solution\n\nExtend the Angular compiler's template expression parser to support ES6 braced Unicode escapes (`\\u{...}`) in string literals, matching JavaScript semantics. Legacy `\\uXXXX` escapes should remain supported for backward compatibility.\n\n### Alternatives considered\n\n- Using legacy `\\uXXXX` escapes with surrogate pairs for non-BMP characters (e.g., emoji). This is error-prone and less readable, requiring manual calculation and two code units per character.\n- Avoiding Unicode escapes and directly pasting Unicode characters. This is not always practical for code points outside BMP or for code generation scenarios.","author":{"url":"https://github.com/kbrilla","@type":"Person","name":"kbrilla"},"datePublished":"2026-02-25T09:44:48Z","url":"https://github.com/angular/angular/issues/67279"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:73e750ca-f5ac-41b2-ec02-0dc117b766cf |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CA4C:2D96F1:F7877C:148F1FF:6B0107F5 |
| html-safe-nonce | 6c78c7acbe466f67c6802f39ef49624597d4c8bf6802747995e1d910a065958d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQTRDOjJEOTZGMTpGNzg3N0M6MTQ4RjFGRjo2QjAxMDdGNSIsInZpc2l0b3JfaWQiOiIzMTk3OTc0OTczMjgxMDExNzAxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 62535b6ffbb8cc7c9d35d394b82dd9f03ba66faabc0d16ccc9c270a1e2b96e3a |
| hovercard-subject-tag | issue:3988349809 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular/67279/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6e756a4dc422c846e0cb2700830ad02f84714272483d318073869fcbeb3642fc/angular/angular/issues/67279 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6e756a4dc422c846e0cb2700830ad02f84714272483d318073869fcbeb3642fc/angular/angular/issues/67279 |
| og:image:alt | Which @angular/* package(s) are relevant/related to the feature request? compiler Description Angular template expressions currently do not support ES6 braced Unicode escapes (e.g. \u{1F600}) in st... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | kbrilla |
| hostname | github.com |
| expected-hostname | github.com |
| None | cb7fa109eca7d4156c889f474306b0e91336055e9adf8fd4684b61e49094d124 |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angular git https://github.com/angular/angular.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 24195339 |
| octolytics-dimension-repository_nwo | angular/angular |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 24195339 |
| octolytics-dimension-repository_network_root_nwo | angular/angular |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 2b59d31a4e44f08b7af67a4b67f8fd0af3befe2a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width