System.Text.Encoding.UTF32 Property

Gets an encoding for the UTF-32 format using the little endian byte order.


public static Encoding UTF32 { get; }


Documentation for this section has not yet been entered.


The System.Text.UTF32Encoding object that is returned by this property may not have the appropriate behavior for your application. It uses replacement fallback to replace each string that it cannot encode and each byte that it cannot decode with the Unicode REPLACEMENT CHARACTER (U+FFFE). Instead, you can call the UTF32Encoding.#ctor(bool, bool, bool) constructor to instantiate a System.Text.UTF32Encoding object whose fallback is either an System.Text.EncoderFallbackException or a System.Text.DecoderFallbackException, as the following example illustrates.

code reference: System.Text.Encoding.UTF32#1

For a discussion of little endian byte order, see the System.Text.Encoding class topic.

For information about the encodings supported by the .NET Framework and a discussion of which Unicode encoding to use, see Understanding Encodings.


Namespace: System.Text
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions:,
Since: .NET 2.0