modelsim Error: (vlog-13067) Syntax error, unexpected non-printable character.

 ** Error: (vlog-13067) Syntax error, unexpected non-printable character.

The reason is that. V file format is UTF-8 encoding. Modelsim supports ANSI. UTF-8 white space characters are not blank. When converting. V to ANSI encoding, you can see the following figure. The white space characters are not blank. Just delete these exceptional white space characters.


Read More: