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

源码可以改成utf8的吗 #343

Open
ChrisCatCP opened this issue Jun 27, 2024 · 4 comments
Open

源码可以改成utf8的吗 #343

ChrisCatCP opened this issue Jun 27, 2024 · 4 comments

Comments

@ChrisCatCP
Copy link
Contributor

我看这个#308 有提到过
vs上可以添加.editorconfig来让vs识别为utf8

@zhengshuxin
Copy link
Member

如果加了这个editorconfig,是不是就可以不用添加BOM头了?但是别人在引用Acl头文件时,如果没有加这个config会不会也会显示为乱的?

@ChrisCatCP
Copy link
Contributor Author

是可以不用bom头,引用头文件没加.editorconfig是会乱

@ChrisCatCP
Copy link
Contributor Author

如果加了这个editorconfig,是不是就可以不用添加BOM头了?但是别人在引用Acl头文件时,如果没有加这个config会不会也会显示为乱的?

现在主流ide/编辑器都支持这个了

@zhengshuxin
Copy link
Member

在 acl/app/jencode 目录下的程序是一个 Windows 程序,可以根据需要将源码里的GB中文转成UTF8,如果需要转换,可以用它转一下。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants