Okapi .NET Library

Routines.GetANSIEncoding Method 

 [This is preliminary documentation and subject to change.]

Gets the Windows encoding for the given language

[Visual Basic]
Shared Public Function GetANSIEncoding( _ 
   ByVal p_sLanguage As String _ 
) As String
[C#]
public static string GetANSIEncoding(
   string p_sLanguage
);
[C++]
public: static String* GetANSIEncoding(
   String* p_sLanguage
);
[JScript]
public static function GetANSIEncoding(
   String p_sLanguage
): String;

Parameters

p_sLanguage
The language code for the encoding to select.

Return Value

The name of the encoding, or empty if none found.

See Also

Routines Class | Okapi.Library.Base Namespace