|
-
Aug 31st, 2016, 04:37 PM
#3
Thread Starter
Junior Member
Re: How to parse a XML file without The bom character
Thank you.
I'm using StreamReader and now it works.
 Originally Posted by Sitten Spynne
It sort of depends on your parser, but I can tell you enough to get started.
Code:
Dim encoding As New System.Text.UTF8Encoding(True) ' The boolean parameter controls BOM
Dim reader As New System.Io.StreamReader("your file path", encoding)
Last edited by mehrlicht; Aug 31st, 2016 at 04:38 PM.
Reason: missing quote ending tag
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|