title: Regular expression for validating cyrillic
body: <p>I have a php function to validate "City":</p>
  
  <pre><code>function validate_city($field) {
      if ($field == "") return "Enter city.&lt;br /&gt;";
      else if (preg_match("/[^а-Яa-zA-z-]/", $field))
          return "City hame only from letters and -.&lt;br /&gt;";
      return "";
  }
  </code></pre>
  
  <p>Every time, when I enter a cyrillic City name (for ex: "Минск") it returns:
  City hame only from letters and -. 
  Variable $_POST['city'] looks like:
  Ð�Ð¸Ð½Ñ�Ðº </p>
  
  <p>In JS this code works correct, I think something is in encoding.....</p>