public Dictionary() { StreamReader src = new StreamReader("cedict_ts.u8", System.Text.Encoding.UTF8); string s; DictionaryEntry de; dict = new ArrayList(); while ((s = src.ReadLine()) != null) { if (s.Length > 0 && s[0] != '#') { if (null != (de = DictionaryEntry.Parse(s))) { dict.Add(de); } } } }