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))); }