Results 1 to 3 of 3

Thread: How to parse a XML file without The bom character

Threaded View

  1. #3

    Thread Starter
    Junior Member
    Join Date
    Jan 2013
    Posts
    24

    Resolved Re: How to parse a XML file without The bom character

    Thank you.

    I'm using StreamReader and now it works.

    Quote Originally Posted by Sitten Spynne View Post
    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
  •  



Click Here to Expand Forum to Full Width