The FontDialog class in C# has a property "AllowScriptChange" that lets the user select the script (Western, Hebrew, Arabic, Turkish, etc). When enabled, the dropdown box provides all those options and whatever else is available depending on the font selected.
If the dialog is successful, the font selected has GdiCharSet set a value from 0-255. 177 is Hebrew, 161 is Greek, etc. Is there a function that will convert from value to string? I can write a switch statement myself but I'd like to do it The Right Way.
This is a partial list: http://msdn.microsoft.com/en-us/library/cc194829.aspx
Edit: A function that will convert from CharSet to codepage would work, too, because I think that getting the name of a codepage should be easy.