title: How to validate both Chinese (unicode) and English name?
body: <p>I have a multilingual website (Chinese and English). </p>
  
  <p>I like to validate a text field (name field) in javascript. I have the following code so far.</p>
  
  <pre><code>var chkName = /^[characters]{1,20}$/;
  
  if( chkName.test("[name value goes here]") ){
    alert("validated");
  }
  </code></pre>
  
  <p>the problem is, /^[characters]{1,20}$/ only matches English characters. Is it possible to match ANY (including unicode) characters? I used to use the following regex, but I don't want to allow spaces between each characeters.</p>
  
  <pre><code>/^(.+){1,20}$/
  </code></pre>