title: How can I find non ascii strings in an array of strings, in Rails 2.0/ruby 1.8.6?
body: <p>I have an array full of user logins that was loaded from the database.  What's the simplest and efficient way to keep only the logins that contain non-ascii characters?</p>
  
  <pre><code>logins = Users.find(:all).map{|user|user.login}
  logins_with_non_ascii_characters = logins.select{ |login| ...??? }
  </code></pre>
  
  <p>Thanks</p>
  
  <p><em>Edit</em>: if you have a SQL solution (I use MySQL, but a generic solution would be better) to filter out the logins directly on the first line, with a :conditions clause, I'm ok with that too.  In fact, it would be way more efficient:</p>
  
  <pre><code>logins = Users.find(:all, :conditions =&gt; "...???").map{|user|user.login}
  </code></pre>