Welcome to MSDN Blogs Sign in | Join | Help

July 2006 - Posts

Custom Locale and Custom Culture Limitations and Things That Work.

Some people have used custom locales/custom cultures successfully and others are finding scenarios that don't work. Feel free to comment about what scenarios work/don't work for you. I'll try to update this when I learn about new scenarios. Limitations:

Encoding.GetEncodings() has a couple "duplicate" names

The Microsoft.Net v2.0 Encoding.GetEncodings() method returns a complete list of supported encodings, uniquely distinguished by code page. Note that in general I consider the code page number to be a poor way to exchange code page information since its

Oddities of LOCALE_SGROUPING, NumberGroupSizes and NUMBERFMT

Many people (such as myself) get confused when trying to figure out the correlation between the LOCALE_SGROUPING used by GetLocaleInfoEx, NUMBERFMT Grouping field used by GetNumberFormatEx, and NumberFormatInfo.NumberGroupSizes property. Hopefully this
 
Page view tracker