Visual Basic Compiler Options  

/utf8output

Displays compiler output using UTF-8 encoding.

/utf8output[+ | -]

Arguments

+ | -
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+.

Remarks

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.

Note   The /utf8output option is not available from within the Visual Studio development environment; it is available only when compiling from the command line. It cannot be changed programmatically.

Example

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

vbc /utf8output in.vb

See Also

Visual Basic Compiler Options | Sample Compilation Command Lines