title: javascript string compression with localStorage
body: <p>I am using <code>localStorage</code> in a project, and it will need to store <em>lots</em> of data, mostly of type int, bool and string. I know that javascript strings are unicode, but when stored in <code>localStorage</code>, do they stay unicode? If so, is there a way I could compress the string to use all of the data in a unicode byte, or should i just use base64 and have less compression? All of the data will be stored as one large string.</p>
  
  <p>EDIT: Now that I think about it, base64 wouldn't do much compression at all, the data is already in base 64, <code>a-zA-Z0-9 ;:</code> is 65 characters.</p>