title: MacRoman vs UTF-8
body: <p>I am try to pull out byte data from a source, encrypt it, and then store it in the file system.</p>
  
  <p>For encryption, I am using <strong>jasypt</strong> and the <strong>BasicTextEncryptor</strong> class. And for storing on to the file system, I am using <strong>Apache's Commons IOUtils</strong> class.</p>
  
  <p>When required, these files will be decrypted and then sent to the user's browser. This system works on my local machine where the default charset is <strong>MacRoman</strong>, but it fails on the server where the default charset is <strong>UTF-8</strong>.</p>
  
  <p>When I explicitly set the encoding at each stage of the process to use <strong>MacRoman</strong> it works on the server as well, but I am skeptical about doing this as rest of my code uses <strong>UTF8</strong>.</p>
  
  <p>Is there a way that I can work the code without conversion to MacRoman?</p>