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

A bug in Chinese while using bash. #1206

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

A bug in Chinese while using bash. #1206

STLGirlfriend opened this issue Jul 29, 2017 · 11 comments
Labels

Comments

@STLGirlfriend
Copy link

@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 Is it a bug in Chinese? A bug in Chinese while using WSL. Jul 31, 2017
@STLGirlfriend
Copy link
Author

@STLGirlfriend STLGirlfriend commented Aug 16, 2017

Where is the author?

@STLGirlfriend STLGirlfriend changed the title A bug in Chinese while using WSL. A bug in Chinese while using bash. Aug 16, 2017
@Maximus5
Copy link
Owner

@Maximus5 Maximus5 commented Aug 16, 2017

Where is your Windows version?

@STLGirlfriend
Copy link
Author

@STLGirlfriend STLGirlfriend commented Aug 17, 2017

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

@hideoyanagi
Copy link

@hideoyanagi 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
Copy link
Owner

@Maximus5 Maximus5 commented Nov 19, 2017

ConEmu version?

@hideoyanagi
Copy link

@hideoyanagi hideoyanagi commented Nov 19, 2017

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

@hideoyanagi
Copy link

@hideoyanagi 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
Copy link

@mr-cn 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
Copy link

@xianghongai 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
Copy link
Owner

@Maximus5 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
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

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