a guest Mar 1st, 2016 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     StreamReader sr = new StreamReader(@AdressIN, Encoding.GetEncoding(1251));
  2.     StreamWriter sw = File.CreateText(@AdressOUT);
  3.     string start =
  4. @"<!DOCTYPE html>
  5. <html>
  6. <head>
  7. <meta charset = ""utf-8"">
  8. <title>New Page</title>
  9. </head>
  10. <body>
  11. <p>";
  12.     string end = "</p>\n</body>\n</html>";
  13.     sw.WriteLine(start);
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand