Skip to content

Conversation

@stevengj
Copy link
Member

Similar to #56925, support Unicode 17 by bumping utf8proc to 2.11.0 (thanks to JuliaStrings/utf8proc#301 by @eschnett).

This allows us to use 10 exciting new emoji characters as identifiers, including "treasure chest"
image
"\U1FA8E" (but still no superscript "q").

@stevengj stevengj added unicode Related to unicode characters and encodings parser Language parsing and surface syntax labels Sep 11, 2025
@eschnett
Copy link
Contributor

eschnett commented Sep 11, 2025

I suggest updating UNICODE_DATA_VERSION in doc/Makefile as well.

Edit: And update deps/checksums/UnicodeData-16.0.0.txt to deps/checksums/UnicodeData-17.0.0.txt (make -f contrib/refresh_checksums.mk checksum-doc-unicodedata).

@stevengj
Copy link
Member Author

Okay, I bumped UNICODE_DATA_VERSION.

@eschnett
Copy link
Contributor

For what it's worth – this looks good.

@giordano giordano merged commit d7d9115 into master Sep 12, 2025
7 checks passed
@giordano giordano deleted the utf8proc-2.11.0 branch September 12, 2025 13:38
@giordano giordano added external dependencies Involves LLVM, OpenBLAS, or other linked libraries 😃🍕 and other emoji labels Sep 12, 2025
@giordano
Copy link
Member

giordano commented Sep 12, 2025

but still no superscript "q"

Doesn't seem to be true anymore: 𐞥 (this was mentioned at stevengj/subsuper-proposal#10 (comment)). You can refer to the subscript version though.

@araujoms
Copy link
Contributor

That's strange, I can do

julia> '𐞥'
'𐞥': Unicode U+107A5 (category Lm: Letter, modifier)

but \^q doesn't work.

@stevengj
Copy link
Member Author

Oh, did they actually add a superscript "q" in Unicode 14? https://codepoints.net/U+107A5?lang=en … it doesn't seem to be supported in any fonts on my system?

In any case, tab completions for new characters aren't added automatically … they have to be added manually.

@eschnett
Copy link
Contributor

@cormullion
Copy link
Contributor

Oh, did they actually add a superscript "q" in Unicode 14? https://codepoints.net/U+107A5?lang=en … it doesn't seem to be supported in any fonts on my system?

It's in JuliaMono v0.061 (but I can't remember when I added it, sorry :)).

Screenshot 2025-09-12 at 18 04 29
@PallHaraldsson
Copy link
Contributor

PallHaraldsson commented Sep 12, 2025

Since merged (and relatively simple change?) can this PR and subscript q be (when it merged, even simpler) backported to 1.12.x? Even 1.12.0?

@stevengj
Copy link
Member Author

stevengj commented Sep 12, 2025

No. Changing the Unicode version is not a bugfix and shouldn't be backported, IMO.

If superscript "q" (U+107A5) was added in Unicode 14, then that has been supported since Julia 1.8. You can easily add the tab completion yourself right now:

import REPL
REPL.REPLCompletions.latex_symbols["\\^q"] = "\U107A5"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

😃🍕 and other emoji external dependencies Involves LLVM, OpenBLAS, or other linked libraries parser Language parsing and surface syntax unicode Related to unicode characters and encodings

7 participants