title: What is the difference between #encode and #force_encoding in ruby?
body: <p>I really do not understand the difference between <code>#encode</code> and <code>#force_encoding</code> in Ruby for the <code>String</code> class.  I understand that <code>"kam".force_encoding("UTF-8")</code> will force <code>"kam"</code> to be in UTF-8 encoding, but how is <code>#encode(encoding)</code> different?</p>
  
  <p><a href="http://ruby-doc.org/core-2.0/String.html#method-i-encoding">http://ruby-doc.org/core-2.0/String.html#method-i-encoding</a></p>