CodePage ID to CodePage name: GetEncoding equivalent in Delphi?
- by Steve
Hello all,
I'm looking for a Win32 equivalent of the .Net Encoding.GetEncoding Method to be used in Delphi7.
What I would like to achieve is to convert a Codepage ID (ie.: 28592) to a Codepage name (iso-8859-2 in this case).
I've found a Win32 function called GetCPInfoEx, but that returns a long CodePage name, and I need the short one, like the ones listed on this page: (see Name column)
http://msdn.microsoft.com/en-us/library/system.text.encoding.aspx
Thank you!