GetInternetTextEncoding Function

When decoding mail or web pages you would use this function to get the text encoding rather than GetTextEncoding. This function is the inverse of TextEncoding.InternetName.

Syntax
result = GetInternetTextEncoding( InternetEncoding )

Parameters
InternetEncoding | String | Internet text.

Return Value
Result | TextEncoding | Text encoding of InternetEncoding.

It returns the encoding associated with a standard name for that encoding as used on the Internet.

# See Also

GetTextEncoding, TextEncoding functions.