-utf8output (Visual Basic)
Displays compiler output using UTF-8 encoding.
Syntax
-utf8output[+ | -]
Arguments
+
| -
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+
.
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.
Example
The following code compiles In.vb
and directs the compiler to display output using UTF-8 encoding.
vbc -utf8output in.vb