public static UnicodeDataRecord[] Load(string fileName)
        {
            var result = new List <UnicodeDataRecord>();

            using (var reader = new StreamReader(fileName))
            {
                string line;
                while (!string.IsNullOrEmpty(line = reader.ReadLine()))
                {
                    var s = line.Split(';');
                    result.Add(new UnicodeDataRecord(
                                   Utils.ParseCodePoint(s[0]),
                                   int.Parse(s[3], CultureInfo.InvariantCulture),
                                   DecompositionMapping.Parse(s[5])
                                   ));
                }
            }
            return(result.ToArray());
        }
 public UnicodeDataRecord(uint codePoint, int canonicalCombiningClass, DecompositionMapping decompositionMapping)
 {
     this.CodePoint = codePoint;
     this.CanonicalCombiningClass = canonicalCombiningClass;
     this.DecompositionMapping    = decompositionMapping;
 }