Reading full HTML code from file

I have a XML file; I transform it to HTML code using XSL in Final buidler

Then I tried to read the content of html file into a variable, and use that as the email body.

But the email body only has the following characters: ÿþ<

Anything I missed? How should I make it work?

Thanks

Nevermind, I figured out. It’s the encoding of the file.

I'm having the same issue. What encoding did you use?

Here is how I was able to get it to work for me in case anyone else needs to know.

Added to my xsl:
<xsl:output method=“html” encoding=“ISO-8859-1” indent=“no”></xsl:output>

Changed email action | Message tab settings to
Encoding: ISO-8859-1
and checked the “Message is HTML formatted.” checkbox.

My BeforeAction Emal script has:

Dim objFSO, objTextFile
Set objFSO = CreateObject(“Scripting.FileSystemObject”)
Set objTextFile = objFSO.OpenTextFile(“C:\Temp\qual_test_results\issue.html”, 1, True)
Action.Body = objTextFile.ReadAll
objTextFile.Close