Update syntax to work with RSpec 3
Ensure inputs get scrubbed of bad data when converting to Unicode