Example #1
0
        static char RestoreChar(char Char)
        {
            if (CharRld.ContainsValue(Char))
            {
                return((char)CharRld.ReverseMatch(Char));
            }
            if (UnkRld.ContainsValue(Char))
            {
                return((char)UnkRld.ReverseMatch(Char));
            }

            return(Char);
        }
Example #2
0
        static IntPtr ProcessChar(IntPtr CharInt)
        {
            ushort c = (ushort)ParsePtr(CharInt);

            if (CharRld.ContainsKey(c))
            {
                return(new IntPtr(CharRld[c]));
            }
            if (UnkRld.ContainsKey(c))
            {
                return(new IntPtr(UnkRld[c]));
            }

            if (!((c >= 'A' && c <= 'Z') || (c >= 'a' && c <= 'z') || (c >= '0' && c <= '9')) && Debugging)
            {
                Warning("Char Missed... l={0}|n=0x{1:X4}", (char)c, c);
            }

            return(CharInt);
        }