title: Trying to concatenate a string with what I think is an unicode suffix
body: <p>I have this app of mine that reads datamatrix barcodes from drugs using the camera.</p>
  <p>When it does for a particular drug, I receive this string from the detector, as seen on Xcode console:</p>
  <pre><code>0100000000D272671721123110700XXXX\U0000001d91D1
  </code></pre>
  <p>my problem is that <code>\U0000001d91D1</code> part.</p>
  <p>This code can be decomposed on the following:</p>
  <pre><code>01 00000000D27267 17 211231 10 700XXXX \U0000001d 91D1&quot;
  
  01 = drug code
  17 = expiring date DMY
  10 = batch number
  The last part is the dosage rate
  </code></pre>
  <p>Now on another part of the application I am on the simulator, with no camera, so I need to pass this string to the module that decomposes the code.</p>
  <p>I have tried to store the code as a string using</p>
  <pre><code>let code = &quot;0100000000D272671721123110700XXXX\U0000001d91D1&quot;
  </code></pre>
  <p>it complains about the inverted bar, so I change it to double bar</p>
  <pre><code>let code = &quot;0100000000D272671721123110700XXXX\\U0000001d91D1&quot;
  </code></pre>
  <p>the detector analyzes this string and concludes that the batch number is <code>700XXXX\U0000001d91D1</code>, instead of just <code>700XXXX</code>, so the information contained from the <code>\</code> forward is lost.</p>
  <p>I think this is unicode or something.</p>
  <p>How do I create this string correctly.</p>