Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static string Base64ToUTF8(string v)
- {
- // previously went from utf8 to base64, so we go from base64 to utf8
- byte[] b = Convert.FromBase64String(v);
- string val = Encoding.UTF8.GetString(b);
- return val;
- }
Advertisement
Add Comment
Please, Sign In to add comment