title: Search and replace unicode character
body: <p>I'm using this <a href="https://github.com/cowboy/jquery-replacetext/tree/master/docs" rel="nofollow">search and replace</a> jQuery script . 
  I'm trying to put every character in a span but it doesn't work with unicode characters.</p>
  
  <pre><code>$("body").children().andSelf().contents().each(function(){
      if (this.nodeType == 3) {
          var $this = $(this);
          $this.replaceWith($this.text().replace(/(\w)/g, "&lt;span&gt;$&amp;&lt;/span&gt;"));
      }
  });
  </code></pre>
  
  <p>Should I change the node type ? by what ? </p>
  
  <p>thanks</p>