Exemple #1
0
        private static StringCodepoints mapCodepointSequenceString(string s)
        {
            var bits = s.Split(' ');

            // Skip compatibility & formatting decompositions
            if (bits.Length >= 1 && (bits[0].Length == 0 || bits[0][0] == '<'))
            {
                bits = new String[0];
            }
            return(StringCodepoints.Create(from b in bits select
                                           Convert.ToInt32(b, 16)));
        }