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

vscode & YAML & 中文全角符号 bug #59

Open
xgqfrms opened this issue Oct 10, 2022 · 2 comments
Open

vscode & YAML & 中文全角符号 bug #59

xgqfrms opened this issue Oct 10, 2022 · 2 comments
Labels
bug VSCode & Unicode Highlight VSCode & Unicode Highlight vscode & YAML vscode & YAML 中文全角符号 中文全角符号

Comments

@xgqfrms
Copy link
Owner

xgqfrms commented Oct 10, 2022

vscode & YAML & 中文全角符号 bug

中文半角符号

image

  33: "HTTPS,通过 SSL 证书,确保您与您期望的接收器完全连接。"
The character U+ff0c "," could be confused with the character U+002c ",", which is more common in source code. 

image

@xgqfrms xgqfrms changed the title 中文全角符号 bug vscode & YAML & 中文全角符号 bug Oct 10, 2022
@xgqfrms xgqfrms added 中文全角符号 中文全角符号 bug vscode & YAML vscode & YAML labels Oct 10, 2022
@xgqfrms
Copy link
Owner Author

xgqfrms commented Oct 10, 2022

VSCode & Unicode Highlight

Command + Shift + P

image

vscode settings.json

{
    "editor.unicodeHighlight.allowedLocales": {
      "zh-hans": true
    },
}

@xgqfrms xgqfrms added the VSCode & Unicode Highlight VSCode & Unicode Highlight label Oct 10, 2022
@xgqfrms
Copy link
Owner Author

xgqfrms commented Oct 10, 2022

中文输入法 全角和半角的区别?

https://www.zhihu.com/question/19605819

https://blog.csdn.net/kevinhg/article/details/8702462

1、全角:指一个字符占用两个标准字符位置。

汉字字符和规定了全角的英文字符及国标GB2312-80中的图形符号和特殊字符都是全角字符。一般的系统命令是不用全角字符的,只是在作文字处理时才会使用全角字符。

2、半角:指一字符占用一个标准的字符位置。

通常的英文字母、数字键、符号键都是半角的,半角的显示内码都是一个字节。在系统内部,以上三种字符是作为基本代码处理的,所以用户输入命令和参数时一般都使用半角。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug VSCode & Unicode Highlight VSCode & Unicode Highlight vscode & YAML vscode & YAML 中文全角符号 中文全角符号
Projects
None yet
Development

No branches or pull requests

1 participant