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

Korean folder names not rendered correctly in macOS #4792

Closed
autoditactics opened this issue Feb 14, 2021 · 5 comments
Closed

Korean folder names not rendered correctly in macOS #4792

autoditactics opened this issue Feb 14, 2021 · 5 comments

Comments

@autoditactics
Copy link

autoditactics commented Feb 14, 2021

I don't seem to have any problems when it tries to display hangul in other situations, and I also don't have trouble typing hangul. I've tried changing the font to the font I had in Terminal, which had worked fine, but it doesn't help. Same with using zsh instead of bash.
hangul

Interesting, when I copy the broken text with my cursor and paste it elsewhere, it renders correctly. However, when I copy it back into alacritty instead, it renders incorrectly (and I'm somehow able to delete part of my username?). Is there a difference between 수학 and 수학? When I copy the first one, it's broken; when I copy the second one, it's fine.

System

OS: macOS 10.14.2
Version: 0.7.1

Logs

Font/Terminal size: alacritty -vv
Created log file at "/var/folders/kt/784l1r057ndfpp50kp0gm82c0000gn/T/Alacritty-88260.log"
[2021-02-14 14:00:38.081532000] [DEBUG] [alacritty] Using environment locale: en_US.UTF-8
[2021-02-14 14:00:38.081736000] [INFO ] [alacritty] Welcome to Alacritty
[2021-02-14 14:00:38.081788000] [INFO ] [alacritty] Configuration files loaded from:
"/Users/suranchimeg2019/.config/alacritty/alacritty.yml"
[2021-02-14 14:00:38.154143000] [DEBUG] [alacritty] Estimated DPR: 2
[2021-02-14 14:00:38.154220000] [DEBUG] [alacritty] Estimated window size: None
[2021-02-14 14:00:38.154247000] [DEBUG] [alacritty] Estimated cell size: 14 x 30
[2021-02-14 14:00:38.222128000] [INFO ] [alacritty] Device pixel ratio: 2
[2021-02-14 14:00:38.228809000] [INFO ] [alacritty] Initializing glyph cache...
[2021-02-14 14:00:38.273621000] [INFO ] [alacritty] ... finished initializing glyph cache in 0.044692331s
[2021-02-14 14:00:38.273762000] [INFO ] [alacritty] Cell size: 14 x 30
[2021-02-14 14:00:38.273806000] [INFO ] [alacritty] Padding: 0 x 0
[2021-02-14 14:00:38.273842000] [INFO ] [alacritty] Width: 1600, Height: 1200
[2021-02-14 14:00:38.274646000] [INFO ] [alacritty] PTY dimensions: Line(40) x Column(114)
[2021-02-14 14:00:38.283548000] [INFO ] [alacritty] Initialisation complete
[2021-02-14 14:00:38.446514000] [DEBUG] [alacritty_terminal] [Unhandled CSI] action='h', params=[1034], intermediates=[63]
Keyboard and bindings: alacritty --print-events
https://pastebin.com/ACLYMKwJ

@chrisduerr
Copy link
Member

What is the problem exactly?

@autoditactics
Copy link
Author

What is the problem exactly?

Title. The folder names, as shown in the screenshot, are not rendered correctly. 수학 is rendered weirdly, for example.

@chrisduerr
Copy link
Member

Sounds like a unicode normalization issue. Probably would require unicode normalization or grapheme cluster support. Both are tracked in separate issues like #50.

@PlumpMath
Copy link

how to set unicode normalization.
"NFC" In iterm2, you can set it to nfc, but I hope it will be done quickly in alacritty on macos.

@sehilyi
Copy link

sehilyi commented Nov 24, 2023

"NFC" it is! It works for me now.

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

No branches or pull requests

4 participants