title: Read comma-separated values in HTML form
body: <p>I have a simple HTML input element:</p>
  
  <pre><code>&lt;input type="text" class="form-control" name="value"&gt;
  </code></pre>
  
  <p>This field could have comma-separated values e.g. <code>ABC, DEF, GHI</code>. The field value when submitted must be exactly the same as when entered. However, when I am printing the field value to the console, I am getting </p>
  
  <p><code>ABC%2C+DEF%2C+GHI</code>.</p>
  
  <p>I want <code>ABC, DEF, GHI</code></p>
  
  <p>I tried things like <code>decodeURIComponent</code> and <code>accept-charset="ISO-8859-1"</code> for the form, but they don't work. How can I prevent the encoding of the commas and spaces? Thanks in advance!</p>