Simple:
byte[] data = Convert.FromBase64String(encodedString);
string decodedString = Encoding.UTF8.GetString(data);
More Related Contents:
- How to achieve Base64 URL safe encoding in C#?
- What’s the difference between UTF8/UTF16 and Base64 in terms of encoding
- Convert UTF-8 to base64 string
- Handling special characters [closed]
- Convert a Unicode string to an escaped ASCII string
- Converting string to byte array in C#
- Determine a string’s encoding in C#
- Code for decoding/encoding a modified base64 URL (in ASP.NET Framework)
- Effective way to find any file’s Encoding
- C# Convert string from UTF-8 to ISO-8859-1 (Latin1) H
- How to detect the character encoding of a text file?
- Invalid length for a Base-64 char array
- How can I transform string to UTF-8 in C#?
- C#: Class for decoding Quoted-Printable encoding?
- Strip the byte order mark from string in C#
- How do you remove invalid hexadecimal characters from an XML-based data source prior to constructing an XmlReader or XPathDocument that uses the data?
- Converting file into Base64String and back again
- Converting image to base64
- C# Help reading foreign characters using StreamReader
- Encoding trouble with HttpWebResponse
- How do I write out a text file in C# with a code page other than UTF-8?
- Encoding.GetEncoding can’t work in UWP app
- Encoding parameters for a URL
- How to put an encoding attribute to xml other that utf-16 with XmlWriter?
- How to check for a valid Base64 encoded string
- ASCIIEncoding In Windows Phone 7
- How to convert Bitmap to a Base64 string?
- System.Net.Mail and =?utf-8?B?XXXXX…. Headers
- Cyrillic encoding in C#
- Json.Net deserialize out of memory issue