# Expand Unicode characters allowed in identifiers

**URL:** <https://internals.rust-lang.org/t/expand-unicode-characters-allowed-in-identifiers/2281>\
**Category:** compiler\
**Created:** [June 22, 2015, 10:42pm UTC](https://internals.rust-lang.org/t/expand-unicode-characters-allowed-in-identifiers/2281 "2015-06-22T22:42:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![yongqli](https://avatars.discourse-cdn.com/v4/letter/y/e19b73/32.png) [@yongqli](https://internals.rust-lang.org/u/yongqli)\
**Post date:** [June 22, 2015, 10:42pm UTC](https://internals.rust-lang.org/t/expand-unicode-characters-allowed-in-identifiers/2281/1 "2015-06-22T22:42:13Z")

</div>

Currently Unicode subscripts are allowed in identifiers, but superscripts are not. I am in the process of writing some math heavy code, and superscripts and subscripts would make the code look a lot nicer. Haskell currently supports all characters in the `Lm` category [1]. Are there any interest in changing Rust to support those characters as well?

Would an RFC process be needed for this change? If so, I would be willing to draft up a proposal.

[1] [https://ghc.haskell.org/trac/ghc/ticket/10196](https://ghc.haskell.org/trac/ghc/ticket/10196)

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/system/32/14092_2.png) [@system](https://internals.rust-lang.org/u/system)\
**Post date:** [March 25, 2019, 8:24am UTC](https://internals.rust-lang.org/t/expand-unicode-characters-allowed-in-identifiers/2281/2 "2019-03-25T08:24:45Z")

</div>

Closed on March 25, 2019, 8:24am UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
