Chilkat HOME ASP Visual Basic VB.NET C# Visual C++ C MFC Delphi FoxPro Java Perl PHP Python Ruby SQL Server VBScript
|
B-EncodingThe Chilkat Email component automatically "Q" and "B" encodes header fields as necessary. However, the email object provides utility methods for encoding manually, if needed for some unforeseen reason.
Dim email As New ChilkatEmail2 Dim qEncoded As String qEncoded = email.BEncodeBytes("magnà el véder","iso-8859-1") Text1.Text = Text1.Text & qEncoded & vbCrLf Text1.Refresh qEncoded = email.BEncodeBytes("magnà el véder","utf-8") Text1.Text = Text1.Text & qEncoded & vbCrLf Text1.Refresh ' The output of this program is: ' =?iso-8859-1?B?bWFnbuAgZWwgdulkZXI=?= ' =?utf-8?B?bWFnbsOgIGVsIHbDqWRlcg==?= |
Need a specific example? Send a request to support@chilkatsoft.com
© 2000-2008 Chilkat Software, Inc. All Rights Reserved.