The linked article has a great explanation how to to deal with string encodings in Ruby. Furthermore you can check out some of our cards about encoding:
invalid byte sequence in UTF-8
We make sure that your target audience has the best possible experience with your digital product. You get: