InvalidUTF8Exception Summary Represents an exception for an invalid UTF-8 byte sequence. Description Represents an exception for an invalid UTF-8 byte sequence. Examples Example of how this exception might be encountered 1234567891011import System;import System.Exceptions;import System.Encoding; try { byte[] encoded = [ 0xE2, 0x82 ]; string decoded = UTF8.decode(encoded);}catch(InvalidUTF8Exception e) { Console.error(e);} Methods InvalidUTF8Exception (Constructor)Constructs a System.Exceptions.InvalidUTF8Exception object. Share HTML | BBCode | Direct Link