# \#unicode

**URL:** https://discourse.julialang.org/tag/unicode/685.md

[Latest](https://discourse.julialang.org/latest.md) · [Categories](https://discourse.julialang.org/categories.md) · [Tags](https://discourse.julialang.org/tags.md)

---

## [\[ANN\] Glyphy.jl](https://discourse.julialang.org/t/ann-glyphy-jl/121953)

<div class="topic-metadata">

**Author:** [@cormullion](https://discourse.julialang.org/u/cormullion)\
**Replies:** 6\
**Last updated:** [January 21, 2026, 4:08pm UTC](https://discourse.julialang.org/t/ann-glyphy-jl/121953 "2026-01-21T16:08:56Z")

</div>

This package looks up Unicode glyph names, it might be useful to some. I updated Glyphy.jl to 1.5, so it now includes the (silly) additions in Unicode 16.

---

## [What happened to parsing Unicode characters?](https://discourse.julialang.org/t/what-happened-to-parsing-unicode-characters/130047)

<div class="topic-metadata">

**Author:** [@jmanthony3](https://discourse.julialang.org/u/jmanthony3)\
**Replies:** 5\
**Last updated:** [June 20, 2025, 12:40pm UTC](https://discourse.julialang.org/t/what-happened-to-parsing-unicode-characters/130047 "2025-06-20T12:40:05Z")

</div>

I don’t know what happened between the last time I opened this particular code project (I tabled it for a time to work on something else): but now the Unicode characters look funny. Since I haven’t updated my Julia versi…

---

## [UndefVarError for closure defined in a function](https://discourse.julialang.org/t/undefvarerror-for-closure-defined-in-a-function/129809)

<div class="topic-metadata">

**Author:** [@slwu89](https://discourse.julialang.org/u/slwu89)\
**Replies:** 6\
**Last updated:** [June 12, 2025, 10:48am UTC](https://discourse.julialang.org/t/undefvarerror-for-closure-defined-in-a-function/129809 "2025-06-12T10:48:31Z")

</div>

Hi all. I’m working on an EM algorithm which will necessarily call many optimization solves (using Optim.jl). That means that I’ll need to optimize various functions while holding other values constant. The obvious way t…

---

## [No superscript q in REPL?](https://discourse.julialang.org/t/no-superscript-q-in-repl/127899)

<div class="topic-metadata">

**Author:** [@leespen1](https://discourse.julialang.org/u/leespen1)\
**Replies:** 6\
**Last updated:** [April 10, 2025, 6:22pm UTC](https://discourse.julialang.org/t/no-superscript-q-in-repl/127899 "2025-04-10T18:22:05Z")

</div>

I noticed that every lowercase letter in the English alphabet can be used as a super script, except q. E.g. typing julia\> \\^abcdefghijklmnop and then pressing tab gives julia\> ᵃᵇᶜᵈᵉᶠᵍʰⁱʲᵏˡᵐⁿᵒᵖ I can do the same with …

---

## [REPL reports (ParseError: unknown unicode character) when I copy-paste code containing unicodes to the terminal in VScode](https://discourse.julialang.org/t/repl-reports-parseerror-unknown-unicode-character-when-i-copy-paste-code-containing-unicodes-to-the-terminal-in-vscode/127803)

<div class="topic-metadata">

**Author:** [@WalterMadelim](https://discourse.julialang.org/u/WalterMadelim)\
**Replies:** 17\
**Last updated:** [April 9, 2025, 2:51am UTC](https://discourse.julialang.org/t/repl-reports-parseerror-unknown-unicode-character-when-i-copy-paste-code-containing-unicodes-to-the-terminal-in-vscode/127803 "2025-04-09T02:51:30Z")

</div>

Continuing the discussion from Issue with using Unicode in symbol names: In my application, it’s sometimes motivated to use variant style of letters. Maybe often the case is they can work properly (copy-paste workflow …

---

## [Turning a string containing Unicode code points to a normal string](https://discourse.julialang.org/t/turning-a-string-containing-unicode-code-points-to-a-normal-string/126273)

<div class="topic-metadata">

**Author:** [@lance\_xwq](https://discourse.julialang.org/u/lance_xwq)\
**Replies:** 2\
**Last updated:** [February 24, 2025, 11:03pm UTC](https://discourse.julialang.org/t/turning-a-string-containing-unicode-code-points-to-a-normal-string/126273 "2025-02-24T23:03:20Z")

</div>

For example, given that '\\u03BC' is 'μ', how should I turn "\\\\u03BCm" to "μm"? Thanks for any suggestions!

---

## [Unicode diacritical marks in filenames](https://discourse.julialang.org/t/unicode-diacritical-marks-in-filenames/124392)

<div class="topic-metadata">

**Author:** [@kellertuer](https://discourse.julialang.org/u/kellertuer)\
**Replies:** 2\
**Last updated:** [January 3, 2025, 6:56am UTC](https://discourse.julialang.org/t/unicode-diacritical-marks-in-filenames/124392 "2025-01-03T06:56:00Z")

</div>

Anything with diacritics (dots hats, wiggles above/below) are a bit complicated you can write the German ö as exactly that letter or use “◌߳” U+07F3 Nko Combining Double Dot Above Unicode Character before/with an o. T…

---

## [How do I find the number of bytes for a character?](https://discourse.julialang.org/t/how-do-i-find-the-number-of-bytes-for-a-character/124144)

<div class="topic-metadata">

**Author:** [@hack3rcon](https://discourse.julialang.org/u/hack3rcon)\
**Replies:** 3\
**Last updated:** [December 24, 2024, 4:48pm UTC](https://discourse.julialang.org/t/how-do-i-find-the-number-of-bytes-for-a-character/124144 "2024-12-24T16:48:46Z")

</div>

Hello, Please take a look at the following text: Consider the following: julia\> grk = “β+θ” “β+θ” julia\> length(grk) 3 julia\> sizeof(grk) 5 Since β and θ occupy two bytes each, the valid indices into grk are 1 …

---

## [Fun with Unicode: TemplateᐸTᐳ syntax and more](https://discourse.julialang.org/t/fun-with-unicode-template-t-syntax-and-more/117995)

<div class="topic-metadata">

**Author:** [@stevengj](https://discourse.julialang.org/u/stevengj)\
**Replies:** 4\
**Last updated:** [August 9, 2024, 12:24pm UTC](https://discourse.julialang.org/t/fun-with-unicode-template-t-syntax-and-more/117995 "2024-08-09T12:24:36Z")

</div>

Inspired by a Go example: julia\> const VectorᐸIntᐳ = Vector{Int} Vector{Int64} (alias for Array{Int64, 1}) julia\> \[1,2,3\] isa VectorᐸIntᐳ true julia\> x = 2 2 julia\> xᐸ3 = x\<3 true julia\> xᐸ3+4 5 julia\> ᐸ = \> \> (gen…

---

## [Difference between U+007C “VERTICAL BAR” \`|\` and U+2223 “DIVIDES” \`∣\`](https://discourse.julialang.org/t/difference-between-u-007c-vertical-bar-and-u-2223-divides/117499)

<div class="topic-metadata">

**Author:** [@paalon](https://discourse.julialang.org/u/paalon)\
**Replies:** 2\
**Last updated:** [July 26, 2024, 2:22pm UTC](https://discourse.julialang.org/t/difference-between-u-007c-vertical-bar-and-u-2223-divides/117499 "2024-07-26T14:22:09Z")

</div>

What is the difference between the two Unicode code points U+007C “VERTICAL BAR” | and U+2223 “DIVIDES” ∣? Julia REPL’s LaTeX-like Unicode input of \\mid gives U+2223, and HTML’s named character references for &mid;, &sho…

---

## [UnicodeREPL.jl - Type any Unicode character in the REPL](https://discourse.julialang.org/t/unicoderepl-jl-type-any-unicode-character-in-the-repl/111434)

<div class="topic-metadata">

**Author:** [@GHTaarn](https://discourse.julialang.org/u/GHTaarn)\
**Replies:** 6\
**Last updated:** [July 4, 2024, 9:57pm UTC](https://discourse.julialang.org/t/unicoderepl-jl-type-any-unicode-character-in-the-repl/111434 "2024-07-04T21:57:15Z")

</div>

I would like to announce the new package UnicodeREPL.jl which is a REPL enhancement for tab completing any Unicode codepoint to its Unicode symbol. This is useful if you want Unicode symbols that are not in the standard …

---

## [Using subscript to index an array](https://discourse.julialang.org/t/using-subscript-to-index-an-array/115190)

<div class="topic-metadata">

**Author:** [@bsuwal](https://discourse.julialang.org/u/bsuwal)\
**Replies:** 4\
**Last updated:** [June 4, 2024, 7:34pm UTC](https://discourse.julialang.org/t/using-subscript-to-index-an-array/115190 "2024-06-04T19:34:05Z")

</div>

Is there any macro or functionality that would allow me to index the elements of an array by subscript? For eg if I had an array: A = \[1, 2, 3\] I would like to have code such as: for i=1:length(A) A\\\_i = A\\\_i \* 3…

---

## [How to custom unicode completions?](https://discourse.julialang.org/t/how-to-custom-unicode-completions/113304)

<div class="topic-metadata">

**Author:** [@NeroBlackstone](https://discourse.julialang.org/u/NeroBlackstone)\
**Replies:** 3\
**Last updated:** [April 22, 2024, 3:58am UTC](https://discourse.julialang.org/t/how-to-custom-unicode-completions/113304 "2024-04-22T03:58:25Z")

</div>

I want to add 𝄫(double flat) and 𝄪(double sharp) to REPL unicode completion, but I don’t know how to do. I found this in github, but it seems that the Base module does not export the REPLCompletions submodule, and the R…

---

## [Downloading website content (HTTP, BufferedStreams)](https://discourse.julialang.org/t/downloading-website-content-http-bufferedstreams/112595)

<div class="topic-metadata">

**Author:** [@Anton\_Hinneck](https://discourse.julialang.org/u/Anton_Hinneck)\
**Replies:** 3\
**Last updated:** [April 6, 2024, 8:09pm UTC](https://discourse.julialang.org/t/downloading-website-content-http-bufferedstreams/112595 "2024-04-06T20:09:47Z")

</div>

Hi, I would like to download HTML from urls. For this purpose I use HTTP.jl and BufferedStreams.jl. using HTTP using BufferedStreams url = "https://discourse.julialang.org/" htmlData = String\[\] io = nothing HTTP.…

---

## [Is there a way to look for all non-ascii unicode symbols in my project?](https://discourse.julialang.org/t/is-there-a-way-to-look-for-all-non-ascii-unicode-symbols-in-my-project/110647)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 2\
**Last updated:** [February 23, 2024, 2:56pm UTC](https://discourse.julialang.org/t/is-there-a-way-to-look-for-all-non-ascii-unicode-symbols-in-my-project/110647 "2024-02-23T14:56:14Z")

</div>

I want to check the usage of Unicode symbols on my package (like β, η…), is there any way to use the search project in VSCode for Unicode non-ascii symbols ?

---

## [Lowercase and uppercase do not handle Mathematical Letters as expected](https://discourse.julialang.org/t/lowercase-and-uppercase-do-not-handle-mathematical-letters-as-expected/110348)

<div class="topic-metadata">

**Author:** [@benjwweber](https://discourse.julialang.org/u/benjwweber)\
**Replies:** 2\
**Last updated:** [February 17, 2024, 6:38pm UTC](https://discourse.julialang.org/t/lowercase-and-uppercase-do-not-handle-mathematical-letters-as-expected/110348 "2024-02-17T18:38:14Z")

</div>

I have recently noticed that lowercase('𝐴') # '𝐴': Unicode U+1D434 (category Lu: Letter, uppercase) and uppercase('𝑎') # '𝑎': Unicode U+1D44E (category Ll: Letter, lowercase) do not behave as I would have expected, a…

---

## [Syntax: Escape hatch for unicode haters](https://discourse.julialang.org/t/syntax-escape-hatch-for-unicode-haters/108363)

<div class="topic-metadata">

**Author:** [@foobar\_lv2](https://discourse.julialang.org/u/foobar_lv2)\
**Replies:** 124\
**Last updated:** [January 16, 2024, 1:58pm UTC](https://discourse.julialang.org/t/syntax-escape-hatch-for-unicode-haters/108363 "2024-01-16T13:58:19Z")

</div>

Some people have a perennial problem with unicode in source files, and would prefer to simply never deal with that. We have two interesting precedents inside the julia language to deal with that: String literals permi…

---

## [Warning against Unicode confusables](https://discourse.julialang.org/t/warning-against-unicode-confusables/108734)

<div class="topic-metadata">

**Author:** [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Replies:** 50\
**Last updated:** [January 13, 2024, 2:27pm UTC](https://discourse.julialang.org/t/warning-against-unicode-confusables/108734 "2024-01-13T14:27:42Z")

</div>

Even in the internal code (the guts; which you might have to look at, coding is not just about APIs), it is possible to have fun with Unicodes: Happy hacking!

---

## [How to enter unicode letter with hat?](https://discourse.julialang.org/t/how-to-enter-unicode-letter-with-hat/108766)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 1\
**Last updated:** [January 13, 2024, 10:28am UTC](https://discourse.julialang.org/t/how-to-enter-unicode-letter-with-hat/108766 "2024-01-13T10:28:58Z")

</div>

How can I enter this character \\hat U using Unicode?

---

## [Efficiency of parsing ASCII vs. Unicode](https://discourse.julialang.org/t/efficiency-of-parsing-ascii-vs-unicode/108727)

<div class="topic-metadata">

**Author:** [@greatpet](https://discourse.julialang.org/u/greatpet)\
**Replies:** 10\
**Last updated:** [January 12, 2024, 5:42pm UTC](https://discourse.julialang.org/t/efficiency-of-parsing-ascii-vs-unicode/108727 "2024-01-12T17:42:51Z")

</div>

What about performance implications for parsing ASCII text files? Consider the following function which checks if a file has an equal number of left brackets and right brackets: function file\_has\_balanced\_brackets(file)…

---

## [Tab completion of \\uXXXX in the REPL?](https://discourse.julialang.org/t/tab-completion-of-uxxxx-in-the-repl/108442)

<div class="topic-metadata">

**Author:** [@devel-chm](https://discourse.julialang.org/u/devel-chm)\
**Replies:** 23\
**Last updated:** [January 12, 2024, 10:39am UTC](https://discourse.julialang.org/t/tab-completion-of-uxxxx-in-the-repl/108442 "2024-01-12T10:39:47Z")

</div>

I would like to see better explicit support for UTF-8 encodings in Julia. The incredible success of Unicode in extending character encodings to pretty much all human languages is amazing. The ability to encode glyphs…

---

## [Question About Unicode and Symbols](https://discourse.julialang.org/t/question-about-unicode-and-symbols/108080)

<div class="topic-metadata">

**Author:** [@TI36XPro](https://discourse.julialang.org/u/TI36XPro)\
**Replies:** 2\
**Last updated:** [December 27, 2023, 2:05pm UTC](https://discourse.julialang.org/t/question-about-unicode-and-symbols/108080 "2023-12-27T14:05:53Z")

</div>

Hello I’ve been experimenting with overloading getproperty for some structs in a personal project of mine. I noticed the following throws an error (using getfield instead of getproperty in this MWE). Does anyone know …

---

## [String indices : byte indexing feels wrong](https://discourse.julialang.org/t/string-indices-byte-indexing-feels-wrong/107164)

<div class="topic-metadata">

**Author:** [@hlbnet](https://discourse.julialang.org/u/hlbnet)\
**Replies:** 18\
**Last updated:** [December 5, 2023, 10:41pm UTC](https://discourse.julialang.org/t/string-indices-byte-indexing-feels-wrong/107164 "2023-12-05T22:41:39Z")

</div>

I am discovering Julia language (from C++, Java and Python background), and I really love several concepts of Julia, especially how Julia handles types. But I consider the choice to “almost disallow” usage of indices wi…

---

## [Unicode mac windows portability](https://discourse.julialang.org/t/unicode-mac-windows-portability/106155)

<div class="topic-metadata">

**Author:** [@Gravlax](https://discourse.julialang.org/u/Gravlax)\
**Replies:** 2\
**Last updated:** [November 14, 2023, 8:04am UTC](https://discourse.julialang.org/t/unicode-mac-windows-portability/106155 "2023-11-14T08:04:36Z")

</div>

Hi all, I just had an issue during one of my lectures. I provided the students a notebook with pre-filled information. The notebook was edited on a mac using VScode jupyter editor. One variable name was called χ̇ but w…

---

## [Accessing the category of a Char](https://discourse.julialang.org/t/accessing-the-category-of-a-char/102745)

<div class="topic-metadata">

**Author:** [@ultradian](https://discourse.julialang.org/u/ultradian)\
**Replies:** 4\
**Last updated:** [August 13, 2023, 11:05am UTC](https://discourse.julialang.org/t/accessing-the-category-of-a-char/102745 "2023-08-13T11:05:41Z")

</div>

I was playing around and just noticed that there is a category for every Char. For example: julia\> Char(‘a’) ‘a’: ASCII/Unicode U+0061 (category Ll: Letter, lowercase) julia\> Char(‘?’) ‘?’: ASCII/Unicode U+003F (cat…

---

## [Power minus one character](https://discourse.julialang.org/t/power-minus-one-character/101535)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 5\
**Last updated:** [July 12, 2023, 2:50pm UTC](https://discourse.julialang.org/t/power-minus-one-character/101535 "2023-07-12T14:50:41Z")

</div>

Is their a way to print W^{-1} in the console using println(“W…”)? Is their a unicode character for it?

---

## [Tab completion and Unicode names for values not in Julia Documentation](https://discourse.julialang.org/t/tab-completion-and-unicode-names-for-values-not-in-julia-documentation/100152)

<div class="topic-metadata">

**Author:** [@daler6](https://discourse.julialang.org/u/daler6)\
**Replies:** 1\
**Last updated:** [June 10, 2023, 10:17pm UTC](https://discourse.julialang.org/t/tab-completion-and-unicode-names-for-values-not-in-julia-documentation/100152 "2023-06-10T22:17:14Z")

</div>

I am using the book Julia as a Second Language and at points it uses symbols with Unicode points not included in the Julia documentation (see Unicode Input · The Julia Language). Specifically, it uses several from the Bo…

---

## [Variable Name with Cdot?](https://discourse.julialang.org/t/variable-name-with-cdot/97838)

<div class="topic-metadata">

**Author:** [@TI36XPro](https://discourse.julialang.org/u/TI36XPro)\
**Replies:** 6\
**Last updated:** [April 24, 2023, 5:38pm UTC](https://discourse.julialang.org/t/variable-name-with-cdot/97838 "2023-04-24T17:38:39Z")

</div>

This may seem like a silly question. It is not really that important but if its possible I’d like to do it. I am writing some code for a fluid solver and I have terms that represent diffusion and advection. I can write t…

---

## [Display fraction over two lines?](https://discourse.julialang.org/t/display-fraction-over-two-lines/96329)

<div class="topic-metadata">

**Author:** [@Lincoln\_Hannah](https://discourse.julialang.org/u/Lincoln_Hannah)\
**Replies:** 14\
**Last updated:** [March 23, 2023, 2:12am UTC](https://discourse.julialang.org/t/display-fraction-over-two-lines/96329 "2023-03-23T02:12:31Z")

</div>

Is it possible to display a fraction over two lines ? (In actual code rather than latex documentation)

---

## [Graphemes vs chars](https://discourse.julialang.org/t/graphemes-vs-chars/96118)

<div class="topic-metadata">

**Author:** [@tim.holy](https://discourse.julialang.org/u/tim.holy)\
**Replies:** 8\
**Last updated:** [March 15, 2023, 12:07pm UTC](https://discourse.julialang.org/t/graphemes-vs-chars/96118 "2023-03-15T12:07:18Z")

</div>

Cthulhu has an internal TextWidthLimiter\<:IO which allows you to print text, attempting (but not always succeeding) in limiting output to a certain number of characters. I’m considering splitting it out into its own pack…

[Next page](https://discourse.julialang.org/tag/unicode/685.md?match_all_tags=true&page=1&tags%5B%5D=unicode)
