LocaleNameToAnsiCodePage() 공개 정적인 메소드

public static LocaleNameToAnsiCodePage ( string localeName ) : int
localeName string
리턴 int
예제 #1
0
        private static Tuple <string, int, Encoding> GetDetailsInternal(int lcid)
        {
            string localeName   = LocaleMapper.LcidToLocaleNameInternal(lcid);
            int    ansiCodePage = LocaleMapper.LocaleNameToAnsiCodePage(localeName);

            return(Tuple.Create(localeName, ansiCodePage, Encoding.GetEncoding(ansiCodePage)));
        }