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

A bug in Chinese while using bash. #1206

Closed
STLGirlfriend opened this Issue Jul 29, 2017 · 11 comments

Comments

Projects
None yet
5 participants
@STLGirlfriend

STLGirlfriend commented Jul 29, 2017

If I use Chinese in my ConEmu(version: 170723 x64) while using bash(WSL and Git Bash). My cursor is not always in the end of the line(like those pictures). I can't move it to the end. Is it a bug?
Vim in Windows:
image
Vim in WSL:
image

@STLGirlfriend STLGirlfriend changed the title from Is it a bug in Chinese? to A bug in Chinese while using WSL. Jul 31, 2017

@STLGirlfriend

This comment has been minimized.

Show comment
Hide comment
@STLGirlfriend

STLGirlfriend Aug 16, 2017

Where is the author?

STLGirlfriend commented Aug 16, 2017

Where is the author?

@STLGirlfriend STLGirlfriend changed the title from A bug in Chinese while using WSL. to A bug in Chinese while using bash. Aug 16, 2017

@Maximus5

This comment has been minimized.

Show comment
Hide comment
@Maximus5

Maximus5 Aug 16, 2017

Owner

Where is your Windows version?

Owner

Maximus5 commented Aug 16, 2017

Where is your Windows version?

@STLGirlfriend

This comment has been minimized.

Show comment
Hide comment
@STLGirlfriend

STLGirlfriend Aug 17, 2017

My Windows version: Windows 10 Pro / Enterprise G 1703 15063.483
image

STLGirlfriend commented Aug 17, 2017

My Windows version: Windows 10 Pro / Enterprise G 1703 15063.483
image

@hideoyanagi

This comment has been minimized.

Show comment
Hide comment
@hideoyanagi

hideoyanagi Nov 19, 2017

This issue is observed with Japanese too. It seems, when you use ASCII letters after CJK characters, the cursor moves weirdly.

hideoyanagi commented Nov 19, 2017

This issue is observed with Japanese too. It seems, when you use ASCII letters after CJK characters, the cursor moves weirdly.

@Maximus5

This comment has been minimized.

Show comment
Hide comment
@Maximus5

Maximus5 Nov 19, 2017

Owner

ConEmu version?

Owner

Maximus5 commented Nov 19, 2017

ConEmu version?

@hideoyanagi

This comment has been minimized.

Show comment
Hide comment
@hideoyanagi

hideoyanagi Nov 19, 2017

ConEmu Preview, PortableApps.com - 3.87 MB | version: 171109

hideoyanagi commented Nov 19, 2017

ConEmu Preview, PortableApps.com - 3.87 MB | version: 171109

@Maximus5

This comment has been minimized.

Show comment
Hide comment
@hideoyanagi

This comment has been minimized.

Show comment
Hide comment
@hideoyanagi

hideoyanagi Nov 20, 2017

Thanks. I tried all the builds; alpha, preview, and stable. All of them behave differently, and they all have some issues. The alpha has the issue below:

If the line contains only CJK characters, the cursor is positioned at correct places. But, when you have alphabets after CJK characters, the cursor is positioned rightward from where it is supposed to be.

The below is an example.

こんばんはGood Eve|ning

The | indicates the cursor position. In this example, the cursor should be placed at the end of the line, but it appears a little right from the end.

hideoyanagi commented Nov 20, 2017

Thanks. I tried all the builds; alpha, preview, and stable. All of them behave differently, and they all have some issues. The alpha has the issue below:

If the line contains only CJK characters, the cursor is positioned at correct places. But, when you have alphabets after CJK characters, the cursor is positioned rightward from where it is supposed to be.

The below is an example.

こんばんはGood Eve|ning

The | indicates the cursor position. In this example, the cursor should be placed at the end of the line, but it appears a little right from the end.

@mr-cn

This comment has been minimized.

Show comment
Hide comment
@mr-cn

mr-cn Mar 10, 2018

The problem has been fixed in the lastest Preview version 180206.

mr-cn commented Mar 10, 2018

The problem has been fixed in the lastest Preview version 180206.

@Maximus5 Maximus5 closed this Mar 10, 2018

@xianghongai

This comment has been minimized.

Show comment
Hide comment
@xianghongai

xianghongai May 15, 2018

cjk


fix:

git bash command line: git config --global core.autocrlf true

or

windows + r: %userprofile%,edit .gitconfig file:

[user]
	email = Your@Email.com
	name = YourName
[core]
	quotepath = false
	safecrlf = false

xianghongai commented May 15, 2018

cjk


fix:

git bash command line: git config --global core.autocrlf true

or

windows + r: %userprofile%,edit .gitconfig file:

[user]
	email = Your@Email.com
	name = YourName
[core]
	quotepath = false
	safecrlf = false
@Maximus5

This comment has been minimized.

Show comment
Hide comment
@Maximus5

Maximus5 May 15, 2018

Owner

The git option core.autocrlf is not related to this issue.

Owner

Maximus5 commented May 15, 2018

The git option core.autocrlf is not related to this issue.

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