Constructs a new instance of the System.Text.UTF8Encoding class with the specified bool that indicates whether the Unicode byte order mark in UTF-8 is recognized or emitted when reading from or writing to a System.IO.Stream.
- encoderShouldEmitUTF8Identifier
- A bool that indicates whether the Unicode byte order mark in UTF-8 is recognized or emitted when reading from or writing to a System.IO.Stream .
This constructor is equivalent to System.Text.UTF8Encoding (encoderShouldEmitUTF8Identifier, false ).
Note: By default, this constructor turns error-checking off for the new instance.
Namespace: System.Text
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0