Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Support or ignore UTF byte order marks #12

loganfsmyth opened this Issue · 1 comment

2 participants


Just helped someone with an issue they were running into because their stream had byte order marks, which the encoding regex was choking on. The regex for the <?xml... tag uses /^</, but with the byte order marks, that fails to match.

More info here:

And if you want an example, the issue came up here:


thanks again for your help on this :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.