xiaoyuvax / bflata

A wrapper/buildscript generator/project flattener for BFlat, a native C# compiler, to recursively build/flatten MSBuild oriented C# projects with referenced projects, packages, dependencies & resources.
GNU Affero General Public License v3.0
39 stars 2 forks source link

中文编码问题 #6

Open j4587698 opened 1 year ago

j4587698 commented 1 year ago

vs默认的文件编码格式位ANSI,在中文下就是GBK,但是bflat默认使用UTF8编译,所以在源码中如果有中文,就会变成乱码。是否可以考虑处理的时候同时处理一下编码格式的问题?

xiaoyuvax commented 1 year ago

VS可以设置为默认用UTF8,如果bflat来编译,建议你改用UTF8,而不用GBK。 但这里是bflata的issues, bflata不涉及对源码文件进行任何预处理,所以如果你要给bflat提改进意见,请到bflat 的issue board提意见。