Ensure your text editor is saving the file in UTF-8 (which is not the default on Windows).
The default encoding on Windows is UTF-16 which is not compatible with most UNIX software.
In Win10 Notepad, the File->Save As dialog has an Encoding drop-down where you can change it.
-Adam

On Jun. 2, 2020 06:56, Fabiano D'Agostino <fabiano.dagostino96@gmail.com> wrote:
I am using a text editor on Windows to edit the bird.conf. When I get my bird.conf in my linux machine and I try bird -p I get this error at the end of the line:
Unknown character

But everything is right.

How can I solve?

Thanks,

Fabiano