-
Notifications
You must be signed in to change notification settings - Fork 42
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
含有中文的行长度不一致 #41
Comments
我也是这样!这个应该是英文和中文占用的字节不一样导致的吧 |
中文字符应该占用两个英文字符的宽度,但是这里没有处理 |
我解决了 |
请问怎么做的 |
简单删除中文字符串后面的空格解决 |
... |
�[38;2;224;177;077m�[0m⠀�[0m我的代码/ �[0m |
需要将logs-ls转换字符后进行处理 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
在包含中文文件或文件夹的目录中使用
-l
参数会导致带有中文字符的行与其他行的长度不一致The text was updated successfully, but these errors were encountered: