Visual Basic to XML encoding

I have a Visual Basic script that I’m using to output XML. I’m doing this through access from a database I inherited. One part of the script pulls in questions, which may have problematic characters such as quotes. I’m curious what I can do to re-encode those characters to make sure they will properly be output as UTF-8 encoded charachters?