fork download
  1. using System;
  2.  
  3. public class Test
  4. {
  5. public static void Main()
  6. {
  7. string msg= "=?windows-1258?B?UkU6IFRyIDogUGxhbiBkZSBjb250aW51aXTpIGQnYWN0aXZpdOkgZGVz?= =?windows-1258?B?IHNlcnZldXJzIFdlYiBHb1ZveWFnZXN=?=";
  8. string[] charSetOccurences = msg.Split(new string[]{ " " }, StringSplitOptions.None);
  9. foreach (string s in charSetOccurences)
  10. {
  11. string charSet = s.Replace("=?", "").Replace("?B?", "").Replace("?b?", "");
  12. Console.WriteLine(charSet);
  13. }
  14. }
  15. }
Success #stdin #stdout 0.04s 33936KB
stdin
Standard input is empty
stdout
windows-1258UkU6IFRyIDogUGxhbiBkZSBjb250aW51aXTpIGQnYWN0aXZpdOkgZGVz?=
windows-1258IHNlcnZldXJzIFdlYiBHb1ZveWFnZXN=