title: Is this the best way to unescape unicode escape sequences in Ruby?
body: <p>I have some text that contains Unicode escape sequences like \u003C.  This is what I came up with to unescape it:</p>
  
  <p><code>string.gsub(/\u(....)/) {|m| [$1].pack("H*").unpack("n*").pack("U*")}</code></p>
  
  <p>Is it correct?  (i.e. it seems to work with my tests, but can someone more knowledgeable find a problem with it?)</p>