by Michael S. Kaplan, published on 2005/07/01 11:01 -04:00, original URI: http://blogs.msdn.com/b/michkap/archive/2005/07/01/434665.aspx
Early last month, a developer at Microsoft asked:
Where can I find information on what locale uses what paper sizes? Basically looking for info on what locales use Letter vs. A4.
Now there is one place to look any time you want information on Windows about a locale -- the clearinghose, grocery store function that lets you find anything you need to:
The topic that this function links to named Locale Information (which has never itself been in the MSDN index for reasons I cannot fathom, but it is a link away through this function and SetLocaleInfo so I do not worry too much).
Now this topic does have a ton of information in it; a lot of locale information has been added over the years. In this case, a simple search for the term "A4" finds what you want:
|
Meaning |
---|---|
|
|
|
|
|
|
|
|
And there it is!
Now as I said this function has a lot of stuff in it, so it is always easy to query for all sorts of information. You can even get the localized name of the current sort (hint: take a look at LOCALE_SSORTNAME!).
So take a look, treat it like a surprise party with a lot of cool presents, some that will not be interesting but others that will make your day.
So the next time you want to know if there is a particular bit of information in which you have interest, the party's on -- take a look and see what Uncle Bill has for you!
This post brought to you by "Ɛ" (U+0190, a.k.a. LATIN CAPITAL LETTER OPEN E)
# Michael S. Kaplan on 1 Jul 2005 11:10 AM:
# Maurits [MSFT] on 1 Jul 2005 11:24 AM:
# Primoz Gabrijelcic on 1 Jul 2005 4:59 PM:
# Michael S. Kaplan on 1 Jul 2005 5:01 PM:
# Michael S. Kaplan on 1 Jul 2005 5:05 PM: