Reputation: 6652
I've searched all over and tried everything but I still get:
invalid multibyte char (UTF-8)
When doing something like:
some_string.gsub(/…/)
Even though I added this to the top of the file:
# encoding: utf-8
Any help?
Upvotes: 1
Views: 1201
Reputation: 18550
Try:
some_string.gsub(/\u2026/)
You can also take a look at this question for more information.
Upvotes: 2