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

Why does Locale=en_US mess up Emoji? #842

Closed
jednano opened this issue Jan 25, 2019 · 3 comments
Closed

Why does Locale=en_US mess up Emoji? #842

jednano opened this issue Jan 25, 2019 · 3 comments
Labels

Comments

@jednano
Copy link

jednano commented Jan 25, 2019

Default Locale

image

Locale=en_US

image

Configuration

ThemeFile=dracula
Transparency=low
OpaqueWhenFocused=yes
CursorType=block
CursorBlink=yes
Font=Fira Code Medium
FontHeight=34
FontWeight=500
FontSmoothing=full
AllowBlinking=no
CtrlShiftShortcuts=yes
Columns=71
Rows=21
Scrollbar=None
PgUpDnScroll=yes
Language=en_US
#Locale=en_US
Window=full
Charwidth=unicode
Emojis=emojione
EmojiPlacement=middle
@jednano
Copy link
Author

jednano commented Jan 25, 2019

Windows 10 / MINGW64 / xterm. This Bash shell came with git and I launch it directly from GitHub Desktop.

The program I'm running above is emoj.

The theme and fonts are defined in my config, along with all the specific settings I applied, which I included in the OP. But I already dissected that config and revealed that it was the Locale=en_US that was specifically messing up the EmojiOne emoji.

@mintty
Copy link
Owner

mintty commented Jan 25, 2019

Because Emojis cannot be encoded in non-Unicode locales.
Try en_US.UTF-8.

@jednano
Copy link
Author

jednano commented Jan 26, 2019

Totally works! Thanks @mintty!

@jednano jednano closed this as completed Jan 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants