public static bool IsCodePageInstalled(uint CodePage)
        {
            // throws 'key not present' for unknown CodePage
            CPInfo cpInfo = new CPInfoTable()[CodePage];

            return(true);
        }
        public static uint GetCodePageMaxCharSize(uint CodePage)
        {
            // throws 'key not present' for unknown CodePage
            CPInfo cpInfo = new CPInfoTable()[CodePage];

            return(cpInfo.MaxCharSize);
        }