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

Does not render some UTF8 characters #1100

Closed
gullevek opened this issue Feb 7, 2018 · 13 comments
Closed

Does not render some UTF8 characters #1100

gullevek opened this issue Feb 7, 2018 · 13 comments

Comments

@gullevek
Copy link

gullevek commented Feb 7, 2018

Which operating system does the issue occur on?

macOS 10.12.6

sample line from Terminal.app visible:
set listchars=tab:\→\ ,trail:▫︎,nbsp:•,eol:¶,extends:»,precedes:«

in Alcritty
listchars=tab:\�F~R\ ,trail:�V�N,nbsp:�@,eol:¶,extends:»,precedes:«

@chrisduerr
Copy link
Member

Does #1099 fix this?

@gullevek
Copy link
Author

gullevek commented Feb 8, 2018

I will try.

But how do I clean up the whole build try to build again? make clean seems to only remove the build app.

@jwilm
Copy link
Contributor

jwilm commented Feb 8, 2018

@gullevek you can cargo clean but that shouldn't be necessary.

@sodiumjoe
Copy link
Contributor

it's merged, so you can just pull master

@sodiumjoe
Copy link
Contributor

@gullevek were you able to rebuild from latest master?

@gullevek
Copy link
Author

gullevek commented Apr 5, 2018

I pulled in the updates and rebuild (in just make app and also with cargo clean) but I still cannot input japanese nor view japanese characters.

Pressing the "kana" key on the keyboard inserts a space. manually changing input in the drop down from the top menu inputs the normal ascii characters.

listing folders/files with japanese just shows question marks.

The above mention problem with other UTF-8 characters like in my original report is still there

@sodiumjoe
Copy link
Contributor

the utf-8 characters issue might have to do with fallback fonts not containing the necessary characters.

When I paste your input I get:

➤ echo 'tab:\→\ ,trail:▫<fe0e>,nbsp:•,eol:¶,extends:»,precedes:«'
tab:\→\ ,trail:▫︎,nbsp:•,eol:¶,extends:»,precedes:«

2018-04-05 at 12 40 am

The japanese character issue looks like it's captured in #1101 (reported by you)

@sodiumjoe
Copy link
Contributor

I think the fallback issue will be solved by #957

@jussi-kalliokoski
Copy link

Also having the same issue as OP, but everything seems to work fine in alacritty+tmux, the characters are rendered correctly and also vim doesn't choke on processing the configuration file. Maybe the issue is with some environment variables?

@jussi-kalliokoski
Copy link

Looks like setting env.LC_CTYPE in config to not include the locale, i.e. just UTF-8 (same value as iTerm2) fixes the issue. Alacritty seems to use LOCALE.ENCODING by default, which was en_FI.UTF-8 for me.

@sodiumjoe
Copy link
Contributor

@jussi-kalliokoski are you on macos? If so, can you try this branch?

@jussi-kalliokoski
Copy link

@sodiumjoe yup, on macOS and yep, works on that branch without overrides.

@chrisduerr
Copy link
Member

Seems like the locale issue has been fixed in #1087. Closing as resolved.

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

No branches or pull requests

6 participants