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

invalid character 'ÿ' #6

Closed
crazyyzarc opened this issue Sep 30, 2021 · 1 comment
Closed

invalid character 'ÿ' #6

crazyyzarc opened this issue Sep 30, 2021 · 1 comment
Labels
faq Collect for FAQ, no need to fix

Comments

@crazyyzarc
Copy link

When I run the service, it will be stopped. I use an English keyboard

2021-09-30_14-52-17-298_bvrvi

@ntestoc3
Copy link
Contributor

The configuration file generated under windows powershell cannot be run
./fapro run prompt:

panic: Fatal error config file: While parsing config: invalid character 'ÿ' looking for beginning of value

Because the output encoding of powershell stdout redirect is UTF-8 with BOM, Use Out-File command to save the configuration file.

./fapro.exe genConfig -n 172.16.0.0/16 | Out-File -Encoding ASCII fapro.json

@ntestoc3 ntestoc3 added the faq Collect for FAQ, no need to fix label Sep 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
faq Collect for FAQ, no need to fix
Projects
None yet
Development

No branches or pull requests

2 participants