Visual Basic 6.0
Visual Basic 6.0
HTML Encoding
Demonstrates HTML encoding and decoding.Chilkat Visual Basic 6.0 Downloads
Dim crypt As New ChilkatCrypt2
Dim s As String
s = "< é ü ç Ω Hello & World ✓ >"
Dim htmlEncoded As String
htmlEncoded = crypt.EncodeString(s,"utf-8","html")
Debug.Print htmlEncoded
' Output:
' < é ü ç Ω Hello & World ✓ >
' To decode:
s = crypt.DecodeString(htmlEncoded,"utf-8","html")
Debug.Print s
' Output:
' < é ü ç Ω Hello & World ✓ >