Hi everyone. I am trying to process a text file in which someone used a
backtick ( ` ) to separate fields of each line. I can't seem to
"escape" the backtick in my code when trying to use the split()
functionality (want to split the line of text using the backtick as a
separator).
Do you have a test case that demonstrates this not working?
···
On Mon, Jan 13, 2014 at 10:50 AM, Dan F. <lists@ruby-forum.com> wrote:
Hi everyone. I am trying to process a text file in which someone used a
backtick ( ` ) to separate fields of each line. I can't seem to
"escape" the backtick in my code when trying to use the split()
functionality (want to split the line of text using the backtick as a
separator).
superscrubber.rb:172:in `split': invalid byte sequence in UTF-8
(ArgumentError)
from superscrubber.rb:172:in `block in <main>'
from superscrubber.rb:171:in `each'
from superscrubber.rb:171:in `<main>'