The gsub method on String is probably suitable. You can just do string.gsub("\u0000", '') to get rid of them.
http://ruby-doc.org/core-2.1.1/String.html#method-i-gsub
The gsub method on String is probably suitable. You can just do string.gsub("\u0000", '') to get rid of them.
http://ruby-doc.org/core-2.1.1/String.html#method-i-gsub