internal static Encoding GuessEncoding(string s) { for (int i = 0; i < s.Length; i++) if (s[i] >= '\u0080') return UTF8Unmarked; return null; }