title: Java REGEX code to validate Indian language characters not working?
body: <p>Why the following code not working(resulting false) with Indian languages?</p>
  
  <pre><code>System.out.println(Charset.forName("UTF-8").encode("అనువాద")
                  .asCharBuffer().toString().matches("\\p{L}+"));
  
  System.out.println(Charset.forName("UTF-8").encode("स्वागत")
                  .asCharBuffer().toString().matches("\\p{L}+"));
  
  System.out.println(Charset.forName("UTF-8").encode("நல்வரவு")
                  .asCharBuffer().toString().matches("\\p{L}+"));
  </code></pre>
  
  <p>All the above code returns false. What is the problem with this regex? How to validate any unicode character in the world?</p>