-
Notifications
You must be signed in to change notification settings - Fork 456
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
support Unicode(or UTF-8 encoded) identifiers #830
Comments
If we do so, we should follow https://unicode.org/reports/tr31/ |
The binary format already allows UTF-8 strings for the import and export names, as well as the debug name section names. The only limitation is in the text format identifiers, as you've said, and that's primarily because it was simpler to do so and the text format is not really intended to be written, except for in spec tests where the identifiers are included for clarity. That said, I think the group would support a proposal to add Unicode identifiers. The process for changing the spec is here. |
We’re heavily investigating this in Rust right now; I’m not at a computer or I’d give you a link, but the proposal thread has a LOT of background on the problem space here.
… On Jul 8, 2018, at 3:35 PM, Ben Smith ***@***.***> wrote:
The binary format already allows UTF-8 strings for the import and export names, as well as the debug name section names. The only limitation is in the text format identifiers, as you've said, and that's primarily because it was simpler to do so and the text format is not really intended to be written, except for in spec tests where the identifiers are included for clarity.
That said, I think the group would support a proposal to add Unicode identifiers. The process for changing the spec is here.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Is this still planned? I don't have much use for it personally, so am not worried about the timeframe, but am interested to know if anything concrete has been decided, either way. |
Nobody has pushed for it by means of a concrete proposal, so no, currently there are no plans. |
Thank you, @rossberg. No worries. |
I am wondering why wasm text format still doesn't support ientifiers outside of ASCII.
it's 2018, not 1998.
Why are English still the only allowed characters nowadays? ALL mordern languages support Unicode identifiers now. ALL.
So, please! Let's extend the allowed characters in identifiers to non-ASCII world.
The text was updated successfully, but these errors were encountered: