GetCodepageFromCharset Method
Returns codepage number for the specified charset.
strPlain = ObjectName.GetCodepageFromCharset(charset) |
Parameters: | ||
Charset As String | The charset name | |
Return value As Long | The codepage number |
Usage example:
Dim Msg, lngCodepage 'Using visual basic to create object Set Msg = CreateObject("MailBee.Message") 'Using ASP to create object 'Set Msg = Server.CreateObject("MailBee.Message") 'In ASP use Response.Write instead of MsgBox lngCodepage = Msg.GetCodepageFromCharset("utf-8") MsgBox lngCodepage 'Displays "65001"
See Also:
Copyright © 2002-2024, AfterLogic Corporation. All rights reserved.