This documentation is archived and is not being maintained.

/utf8output (Visual Basic)

Displays compiler output using UTF-8 encoding.

/utf8output[+ | -]

+ | -

Optional. The default for this option is /utf8output-, which means compiler output does not use UTF-8 encoding. Specifying /utf8output is the same as specifying /utf8output+.

In some international configurations, compiler output cannot be displayed correctly in the console. In such situations, use /utf8output and redirect compiler output to a file.


The /utf8output option is not available from within the Visual Studio development environment; it is available only when compiling from the command line.

The following code compiles In.vb and directs the compiler to display output using UTF-8 encoding.

vbc /utf8output in.vb