I'm trying to use gsub to parse out this: ’
which is an apostrophe from Microsoft Word. Here's what I"m doing
row['Content'] = row['Content'].gsub(/’/, '-' )
gives me the error
reader.rb:18: invalid multibyte char (US-ASCII)
reader.rb:18: invalid multibyte char (US-ASCII)
reader.rb:18: syntax error, unexpected $end, expecting ')'
row['Content'] = row['Content'].gsub(/’/, '-' )
I've tried all sorts of variations and looked at this question, but am at loss. Thanks for any help you can give.