Converting Unicode in Swift
<p>I currently have a string as follows which I received through an API call:</p>

<blockquote>
  <p>\n\nIt\U2019s a great place to discover Berlin and a comfortable place
  to come home to.</p>
</blockquote>

<p>And I want to convert it into something like this which is more readable:</p>

<blockquote>
  <p>It's a great place to discover Berlin and a comfortable place to come
  home to.</p>
</blockquote>

<p>I've taken a look at <a href="https://stackoverflow.com/questions/35444391/unicode-to-utf8-in-swift">this</a> post, but that's manually writing down every conversion, and there may be more of these unicode scalar characters introduced. </p>

<p>What I understand is <code>\u{2019}</code> is unicode scalar, but the format for this is <code>\U2019</code> and I'm quite confused. Are there any built in methods to do this conversion?</p>