0 Replies Latest reply: Oct 10, 2008 3:34 AM by (Julius_Mong) RSS

    How to tell simplified chinese from traditional?

    Community Member
      This javascript is working for both traditional & simplified chinese
      characters but I can't distinguish between the 2... is there a way to do
      that in vbscript?

      function is Chinese(str)
      {
      var reg = /^[u4E00-u9FC3]+$/;
      if(!reg.test(str)){
      return true;
      }
      return false;
      }

      Thanks!