title: Detect non-alphabetic language string in PHP
body: <p>I have a similar question to this <a href="https://stackoverflow.com/questions/1441562/detect-language-from-string-in-php">one</a> </p>
  
  <p>However, I have a less strict requirement.</p>
  
  <p>All I need is to detect if the input string contains any non alphabetic string.</p>
  
  <p>If it does contain non-alphabetic string, then I will select a different font file.</p>
  
  <p>if it contains ONLY alphabetic string, then I will select a font file like AmericanTypeWriter.</p>
  
  <p><strong>By alphabetic string, that would include all kinds of possible symbols such as commas, punctuations, etc.</strong></p>
  
  <p>It is hard to define alphabetic string.</p>
  
  <p>Let me define what is an example of non-alphabetic string.</p>
  
  <p>这是中文</p>
  
  <p>And assuming utf-8 format for the string.</p>
  
  <p><strong>Another way to define: anything that does not fall under non-European language character, is automatically assumed to be alphabetic string.</strong></p>
  
  <p>I need to do this detection in php by the way.</p>