Skip to content
Create a gist now

Instantly share code, notes, and snippets.

anonymous /lala secret
Created Mar 14, 2013

def determine
file=File.open("/home/lala.CEL", 'r:UTF-8')
file.each do |line|
type=line.match(/HG-U133_Plus_2/)
puts(type)
end
end
error:
`match': invalid byte sequence in UTF-8 (ArgumentError)
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.