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

Comments

Projects
None yet
6 participants
@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

This comment has been minimized.

Show comment
Hide comment
@Maximus5

Maximus5 Sep 28, 2016

Owner

ConEmu: 10914 x64/x32

What??

Owner

Maximus5 commented Sep 28, 2016

ConEmu: 10914 x64/x32

What??

@Maximus5

This comment has been minimized.

Show comment
Hide comment
@Maximus5

Maximus5 Sep 28, 2016

Owner

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

Owner

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

gh-879: Fix doubled CJK glyphs on Windows 10 build 14931.
  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

This comment has been minimized.

Show comment
Hide comment
@Wuvist

Wuvist 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 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

This comment has been minimized.

Show comment
Hide comment
@Wuvist

Wuvist Oct 2, 2016

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

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

gh-879: Fix doubled CJK glyphs on Windows 10 build 14931.
  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

This comment has been minimized.

Show comment
Hide comment
@anonymousthing

anonymousthing 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?

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

This comment has been minimized.

Show comment
Hide comment
@Maximus5

Maximus5 Oct 9, 2016

Owner

I suppose you have not updated all ConEmu files properly.

2016-10-10_01-44-04

Owner

Maximus5 commented Oct 9, 2016

I suppose you have not updated all ConEmu files properly.

2016-10-10_01-44-04

@anonymousthing

This comment has been minimized.

Show comment
Hide comment
@anonymousthing

anonymousthing 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:

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

This comment has been minimized.

Show comment
Hide comment
@Maximus5

Maximus5 Oct 10, 2016

Owner

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.

Owner

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

This comment has been minimized.

Show comment
Hide comment
@anonymousthing

anonymousthing Oct 10, 2016

Screenshot:
Logs:
Dump:

anonymousthing commented Oct 10, 2016

Screenshot:
Logs:
Dump:

@terrywh

This comment has been minimized.

Show comment
Hide comment
@terrywh

terrywh Oct 13, 2016

confirm fixed after updating to 161009a.

terrywh commented Oct 13, 2016

confirm fixed after updating to 161009a.

@terrywh terrywh closed this Oct 13, 2016

@anonymousthing

This comment has been minimized.

Show comment
Hide comment
@anonymousthing

anonymousthing 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...

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

This comment has been minimized.

Show comment
Hide comment
@Maximus5

Maximus5 Oct 14, 2016

Owner

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

ConEmuC -checkunicode

And the tool would show SM_DBCSENABLED=0.

Owner

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

This comment has been minimized.

Show comment
Hide comment
@anonymousthing

anonymousthing Oct 14, 2016

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

anonymousthing commented Oct 14, 2016

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

@Maximus5

This comment has been minimized.

Show comment
Hide comment
@Maximus5

Maximus5 Oct 14, 2016

Owner

Please show output of ConEmuC -checkunicode

Owner

Maximus5 commented Oct 14, 2016

Please show output of ConEmuC -checkunicode

@anonymousthing

This comment has been minimized.

Show comment
Hide comment
@mbilker

This comment has been minimized.

Show comment
Hide comment
@mbilker

mbilker 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.

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

This comment has been minimized.

Show comment
Hide comment
@henry-zhang

henry-zhang Jan 25, 2018

cool,update to 180114, works perfect

cool,update to 180114, works perfect

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