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

修改配置文件后启动时闪退Crash on startup after modifying config file #13

Closed
YinHaoovo opened this issue Mar 20, 2022 · 2 comments
Labels
documentation Improvements or additions to documentation good first issue Good for newcomers

Comments

@YinHaoovo
Copy link

修改配置文件以后,cmd窗口会出现一行红色报错,随后cmd闪退关闭。

@layou233
Copy link
Owner

我自己尝试的时候也发现了这个问题,此问题在Windows上发生非常频繁,后续发现不是本程序bug,而是由文件保存格式导致的。
使用记事本编辑的时候,请勿保存为 带有BOM的UTF-8 格式,本作暂时未添加对UTF-8的BOM格式的兼容,这是肇事元凶,可以保存为 不带有BOM的UTF-8。
当然,也可以使用 ANSI 或者 ASCII 编码直接保存,在这些编码中没有 BOM 设计,但是需要注意是否使用了会导致乱码的字符。

@layou233 layou233 added documentation Improvements or additions to documentation good first issue Good for newcomers labels Apr 16, 2022
@layou233 layou233 pinned this issue Apr 16, 2022
@layou233 layou233 changed the title 修改配置文件后无法启动转发服务 修改配置文件后启动时闪退Crash when launch after modified config file Apr 16, 2022
@layou233 layou233 changed the title 修改配置文件后启动时闪退Crash when launch after modified config file 修改配置文件后启动时闪退Crash on startup after modifying config file Apr 16, 2022
@layou233
Copy link
Owner

这是个长期存在的问题,已在issue中置顶,以供新人参考。
已关闭,但与此相关的问题仍然可以在下方提出。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants