title: Trying to scan a UPS Maxicode without losing invisible special characters
body: <p><strong>I have the following task:</strong> Allow to scan a UPS Maxicode into a webform and parse using PHP.
  My Equipment is a USB-Connected 2D Imager "Motorola Symbol DS3508" detected as "Keyboard"-replacement.</p>
  
  <p><strong>My problem:</strong> If I scan a maxicode into a HTML webform (text or textarea) the special hidden characters   and  are dropped. If - on the opposite - I scan the maxicode into Notepad++ with the same scanner and unchanged settings, they are retained. Attempting to copy the string from Notepad++ into the same html webform and submit with post works fine, the special characters are retained and can be detected / parsed with PHP.</p>
  
  <p><strong>Question:</strong> What do I have to do to have a HTML webform retain those special characters during the imager scan already without having to scan into Notepad++ first, then copy/paste into the webform?</p>
  
  <p>Any idea is much appreciated.</p>
  
  <p>Here's my php / html code sniplet</p>
  
  <pre><code>&lt;?php 
  if (!isset($_POST['maxicode']))
  { ?&gt;
      &lt;form action="&lt;?echo $self;?&gt;" method="post"&gt;
          &lt;input type="textarea" charset="UTF-8" name="maxicode" placeholder="Scan Maxicode here" required /&gt;
          &lt;input type="submit" name="submit" value="Submit"&gt;
      &lt;/form&gt;
  &lt;? } 
  else {
      //$maxicode="[)&gt;01960680  5780661Z58416520UPSN8DDD5E0421/15NOSLO";
      $maxicode=$_POST['maxicode'];
      echo $maxicode."&lt;br&gt;";
      $mc=explode ("", $maxicode);
      print_r($mc);
  } ?&gt;
  </code></pre>
  
  <p>As an example: Here's how the scan looks like in Notepad++
  <img src="https://i.stack.imgur.com/7HmqX.jpg" alt="Scan code"></p>