title: jqGrid - Select Menu With Special Characters
body: <p>In my jgGrid edit form I include a select menu.  The menus are built using a...</p>
  
  <pre><code>'key:value;key:value;key:value'
  </code></pre>
  
  <p>...string.  My values contain ';' which then breaks the menu.  My data looks like...</p>
  
  <pre><code>'key:some;data;key:more;data;key:even;more'
  </code></pre>
  
  <p>It's also possible that my values could contain ':' in addition.</p>
  
  <p>The grid's autoencode does not help here.  I could preg_replace() before handing off to the grid.  What other ways could I solve my problem?</p>
  
  <p>Many thanks.</p>