From: Robert Dober Date: 2011-03-06T19:07:19+09:00 Subject: Re: finding a tag in a binary file Eventually I found some time to investigate this. Searching on ruby-core, redmine and ruby-spec I found no indication whatsoever that it is possible to specify the encoding explicitly (with the exception of the u,n and s switches). I would love to have an `encoding:' parameter in Regexp#new. or at least a switch for force for ASCII-8BIT. Any thoughts on that. Cheers Robert