title: Converting UNICODE to shiftJIS
body: <p>I have a Japanese client and have generated a large flat file (1.2 million rows) of data to send to them. </p>
  
  <p>The file is UTF-8 encoded, which supports storing and displaying all the Japanese characters. The client wishes to receive this file in a shiftJIS encoded format that's designed for Japanese characters.</p>
  
  <ol>
  <li>From the <a href="http://en.wikipedia.org/wiki/Shift_JIS#Description" rel="nofollow">wikipedia page</a> I can get the conversion logic</li>
  <li>I see online converters such as <a href="http://www.motobit.com/util/charset-codepage-conversion.asp" rel="nofollow">motobit</a> that let you convert encodings.</li>
  </ol>
  
  <p>My issue is that my file is quite large and I will have to do this for several hundred more files repetitively. The copy-paste field on the online converter tool won't scale to that size and isn't quick enough.</p>
  
  <p>Does anyone know of a free desktop application or perhaps even a ruby library that I could use to convert encodings? Or any other suggestions?</p>
  
  <p>Thanks!</p>