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

ubuntu bash on windows 10 build 14931 CJK charactors doubled #879

Closed
terrywh opened this issue Sep 28, 2016 · 17 comments
Closed

ubuntu bash on windows 10 build 14931 CJK charactors doubled #879

terrywh opened this issue Sep 28, 2016 · 17 comments
Labels

Comments

@terrywh
Copy link

@terrywh terrywh commented Sep 28, 2016

  • ConEmu: 10914 x64/x32
  • System: Windows 10 Build 14931 x64
  • Shell: Ubuntu Bash On Windows

Problem description

Chinese Charactors display doubles.

conemucjk

This is fine before my windows 10 update to Build 14931 ( Sorry, I cannot pinpoint exact version which first trigger this problem)

Steps to reproduce

Start ConEmu and Use IME to type in Chinese words.

Expected results

One Chinese charactor should only be displayed once.

@Maximus5
Copy link
Owner

@Maximus5 Maximus5 commented Sep 28, 2016

ConEmu: 10914 x64/x32

What??

@Maximus5
Copy link
Owner

@Maximus5 Maximus5 commented Sep 28, 2016

Anyway, I think it's newly introduced Microsoft bug.

Maximus5 added a commit that referenced this issue Oct 1, 2016
  Windows 10 (since 14931) has changed behavior for double-cell glyphs. Now they are
  doubled (COMMON_LVB_LEADING_BYTE/COMMON_LVB_TRAILING_BYTE) even for UTF-8 codepage.
@Maximus5 Maximus5 added the drawing-cjk label Oct 1, 2016
@Wuvist
Copy link

@Wuvist Wuvist commented Oct 2, 2016

same problem here, and I think it's affecting non-ascii characters, including the leading prompt character using by oh-my-zsh: ➜
image

@Wuvist
Copy link

@Wuvist Wuvist commented Oct 2, 2016

Related bug from wsl microsoft/WSL#202 (I can't reproduce it though)

Maximus5 added a commit that referenced this issue Oct 2, 2016
  Windows 10 (since 14931) has changed behavior for double-cell glyphs. Now they are
  doubled (COMMON_LVB_LEADING_BYTE/COMMON_LVB_TRAILING_BYTE) even for UTF-8 codepage.
@anonymousthing
Copy link

@anonymousthing anonymousthing commented Oct 7, 2016

I'm still able to reproduce this even on release 161002 😢 . I'm on Windows 10 build 14936.


What can I do to help debug?

@Maximus5
Copy link
Owner

@Maximus5 Maximus5 commented Oct 9, 2016

I suppose you have not updated all ConEmu files properly.

2016-10-10_01-44-04

@anonymousthing
Copy link

@anonymousthing anonymousthing commented Oct 10, 2016

If that's the case, then wouldn't that be a bug with the autoupdater...?
Anyhow, I did a completely fresh reinstall of ConEmu (version 161009) and it's still happening. Here's a video of me doing the install, with the settings I set on startup as well as the bug itself. I also realised I didn't actually show the file on disk, so here's a screenshot of that:

@Maximus5
Copy link
Owner

@Maximus5 Maximus5 commented Oct 10, 2016

Please do the following

  1. Run bash using following command (from Win+R for example)
ConEmu64.exe -basic -log -run {bash}
  1. Reproduce the issue with doubled CJK. Make screenshot. And Dump screen contents using system menu item in Debug submenu.

  2. Post here link to created files.

@anonymousthing
Copy link

@anonymousthing anonymousthing commented Oct 10, 2016

Screenshot:
Logs:
Dump:

@terrywh
Copy link
Author

@terrywh terrywh commented Oct 13, 2016

confirm fixed after updating to 161009a.

@terrywh terrywh closed this Oct 13, 2016
@anonymousthing
Copy link

@anonymousthing anonymousthing commented Oct 14, 2016

Can confirm it's still happening on my system, for whatever reason. Have attempted complete purge of ConEmu to no avail, still happening on both x32/x64 versions as well as the portable version. I'm on Windows build 14936.1000, on version 161009a of ConEmu.

I'm pretty sure a reinstall of Windows would fix it fine, but I want to try and figure out what's causing it first just in case some other poor soul has the same issue and can't reinstall...

@Maximus5
Copy link
Owner

@Maximus5 Maximus5 commented Oct 14, 2016

I suppose all "problematic" computers are not DBCS-aware installations Win10. To check

ConEmuC -checkunicode

And the tool would show SM_DBCSENABLED=0.

@anonymousthing
Copy link

@anonymousthing anonymousthing commented Oct 14, 2016

Yep, that's correct. Do you know if there are any ways to fix this from my end?

@Maximus5
Copy link
Owner

@Maximus5 Maximus5 commented Oct 14, 2016

Please show output of ConEmuC -checkunicode

@anonymousthing
Copy link

@anonymousthing anonymousthing commented Oct 14, 2016

@mbilker
Copy link

@mbilker mbilker commented Aug 14, 2017

For anyone who comes across this issue on Windows 10 build 15063 x64 with ConEmu 161206, upgrade to at least 17087 (preview release as of this post).

That fixed my issue with double printing CJK characters with Bash under ConEmu.

@henry-zhang
Copy link

@henry-zhang henry-zhang commented Jan 25, 2018

cool,update to 180114, works perfect

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

Successfully merging a pull request may close this issue.

None yet
6 participants
You can’t perform that action at this time.