You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One could follow the example of C11. 6.4.2.1 General, n.71 suggests
---
On systems in which linkers cannot accept extended characters, an
encoding of the universal character name may be used in forming valid
external identifiers. For example, some otherwise unused character or
sequence of characters may be used to encode the \u in a universal
character name. Extended characters may produce a long external
identifier
---
However for consistency, having a special mangle/encoding of UTF8 characters in symbol names could be done instead.
Since UTF8 characters in symbols are not link compatible with C or C++ anyway, there is no problem in doing it this way across all linkages.
The text was updated successfully, but these errors were encountered:
Perhaps Punycode can be used: https://en.wikipedia.org/wiki/Punycode
I believe Rust is going to use that: https://rust-lang.github.io/rfcs/2603-rust-symbol-name-mangling-v0.html
Iain Buclaw (@ibuclaw) reported this on 2018-11-20T21:59:50Z
Transferred from https://issues.dlang.org/show_bug.cgi?id=19418
CC List
Description
The text was updated successfully, but these errors were encountered: