Xojo Plugin
Xojo Plugin
HTML Encoding
Demonstrates HTML encoding and decoding.Chilkat Xojo Plugin Downloads
Dim crypt As New Chilkat.Crypt2
Dim s As String
s = "< é ü ç Ω Hello & World ✓ >"
Dim htmlEncoded As String
htmlEncoded = crypt.EncodeString(s,"utf-8","html")
System.DebugLog(htmlEncoded)
// Output:
// < é ü ç Ω Hello & World ✓ >
// To decode:
s = crypt.DecodeString(htmlEncoded,"utf-8","html")
System.DebugLog(s)
// Output:
// < é ü ç Ω Hello & World ✓ >