Skip to content
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

Glyphs display as a "?" in JetBrains Terminal in macOS Big Sur #802

Closed
iebb opened this issue Jan 15, 2021 · 4 comments
Closed

Glyphs display as a "?" in JetBrains Terminal in macOS Big Sur #802

iebb opened this issue Jan 15, 2021 · 4 comments

Comments

@iebb
Copy link

iebb commented Jan 15, 2021

Agnoster Theme works normally in macOS Terminal and iTerm 2, but glyphs display as a "?" in JetBrains Terminal.

Interestingly, Oh-My-Zsh works pretty fine in both environments with glyphs displayed correctly, so I guess it's not a powerline issue.

JetbrainsTerm

It worked well previously (in macOS 10.15), however when I upgraded macOS to Big Sur today, these glyphs broke suddenly in Jetbrains.

Environment report

Run the command omf doctor and paste the output here. Example:

Oh My Fish version:   7
OS type:              Darwin
Fish version:         fish, version 3.1.2
Git version:          git version 2.24.3 (Apple Git-128)
Git core.autocrlf:    no
Checking for a sane environment...
Your shell is ready to swim.

@scorphus
Copy link
Member

This is related to JetBrains. Please check if your issue is solved in the same manner as https://youtrack.jetbrains.com/issue/IDEA-192522. Otherwise, please check https://youtrack.jetbrains.com/ for a similar issue or open a new one.

@iebb
Copy link
Author

iebb commented Feb 1, 2021

After some investigation, I found the problem is related to locale settings.

My current locale setting is en_HK.UTF-8, which is a built-in option for iOS/macOS (English / Hong Kong), however omf seems doesn't support it.

https://gist.github.com/jacobbubu/1836273

both LC_CTYPE=en_US.UTF-8 and UTF-8 works correctly in fish and zsh, but en_HK.UTF-8 only works in oh-my-zsh.

additionally, other similar locales such as en_IN.UTF-8 and en_MT.UTF-8 doesn't work either.

screenshot-20210201-074334

Seems this issue is the same as #410, however since en_HK.UTF-8 is a completely valid locale - alongside with other valid locales such as en_IN.UTF-8, they should be supported.

@bobthecow
Copy link
Member

This might be an issue with JetBrains, or an issue with Fish Shell itself, but it is unrelated to OMF. You should be able to confirm this by printing a few powerline characters. You'll get the same result with or without OMF installed:

echo \uE0B0 \uE0B1

A good next step might be opening an issue with Fish Shell?

https://github.com/fish-shell/fish-shell

@iebb
Copy link
Author

iebb commented Feb 3, 2021

Seems it's an issue with fish shell, since zsh / en_HK works in Jetbrains.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants