[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
The namespace contains classes that represent Unicode character encodings; abstract base classes for converting blocks of characters to and from blocks of bytes; and a helper class that manipulates and formats String objects without creating intermediate instances of String.
The encoding classes are primarily intended to convert between different encodings or code pages and a Unicode encoding. Encoding.Unicode (UTF-16) encoding is used internally by the .NET Framework, and Encoding.UTF8 encoding is often used for storing character data to ensure portability across machines and cultures.
The StringBuilder class is designed for operations that perform extensive manipulations on a single string. Unlike the String class, the StringBuilder class is mutable and provides better performance when concatenating or deleting strings.
For more information about , see [bf6d9823-4c2d-48af-b280-919c5af66ae9] and the MSDN blog Shawn Steele's Thoughts about Windows and .NET Framework Globalization APIs.
|Decoder||Converts a sequence of encoded bytes into a set of characters.|
|DecoderFallbackException||The exception that is thrown when a decoder fallback operation fails. This class cannot be inherited.|
|Encoder||Converts a set of characters into a sequence of bytes.|
|EncoderFallbackException||The exception that is thrown when an encoder fallback operation fails. This class cannot be inherited.|
|Encoding||Represents a character encoding.|
|StringBuilder||Represents a mutable string of characters. This class cannot be inherited.|
|UnicodeEncoding||Represents a UTF-16 encoding of Unicode characters.|
|UTF8Encoding||Represents a UTF-8 encoding of Unicode characters.|