4 5 6
# File 'lib/noteshred/tools.rb', line 4 def self.encode_utf8(string) Base64.encode64(string).encode('utf-8') end