Chilkat
HOME
Android™
ASP
Visual Basic
VB.NET
C#
iOS (IPhone)
Objective-C
C++
C
MFC
Delphi
FoxPro
Java
Perl
PHP Extension
PHP ActiveX
Python
PowerShell
Ruby
SQL Server
VBScript
B-Encoding
The 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==?= |
© 2000-2012 Chilkat Software, Inc. All Rights Reserved.