Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
wrong width for full-width characters << >> #446
not sure if this is the same or different problem as you guys discussing
left-hand side is conhost (show by ctrl+win+alt+space), which I think is correct
the right hand side is ConEmu, you acn see << >>, are not displayed fully: the lines marked with red column, 《你的灯亮着吗》
I'm new to ConEmu. still digging into it :)
ConEmu-Maximus5 is a Windows console emulator with tabs, which represents multiple consoles and simple GUI applications as one customizable GUI window with various features.
Basic application - joint use with Far Manager (a console program for managing files and archives in Windows operating systems).
By default this program launches "Far.exe" (if exists) or "tcc.exe"/"cmd.exe".
© 2006-2008 Zoin (based on console emulator by SEt)
Online documentation: http://conemu.github.io/en/TableOfContents.html
You can show your appreciation and support future development by donating. Donate button located on project website under ConEmu sketch (upper right of page).
retried with 151207 and find different issue, relative to this one i guess so post as comment
when start 1 tab, tab1: conemu-cyg-64.exe bash --login -l, any chinese become half-width (width=single-english-letter)
but it will reset if i open up another tab2 of bash.exe without conemu-cyg-64.exe AND toggle "monospace" setting, now tab1 is showing chinese as double-width correctly
it took me multiple times to confirm it relative to conemu-cyg-64.exe as it seemed ramdom at first to me
True. Connector switches console to UTF8 codepage, that dusables DBCS marks in turn. And this also brings double-width craziness back.
in *nix world when double width characters is handled correctly, the terminal app (and vim) calculate character width correctly, regardless of what encoding/locale is used for bash/vim/ls/echo/cat
some cjk symbol like quotes/comma may be display'ed as single in some case (with specified font?), maybe with rxvt/mrxvt. so there's an option in vim, set ambiwidth=double, or set ambiwidth=single. it affect those
at least let's say mintty. set mintty to UTF-8 mode, let vim/ls output GBK characters, every English is single-width while every Chinese is Double width
and sorry i don't have any idea of the behavior of conhost UTF-8 mode