title: How to check if string is 100% ascii in python 3
body: <p>i have two strings</p>
  
  <pre><code>eng = "Clash of Clans – Android Apps on Google Play"
  rus = "Castle Clash: Новая Эра - Android Apps on Google Play"
  </code></pre>
  
  <p>and now i want to check whether string is in English or not by using <code>Python 3</code>.</p>
  
  <p>I have read this Stackoverflow answer <a href="https://stackoverflow.com/a/27084708/4108070">here</a> and it does not help me as its for <code>Python 2.x</code> solution but in comments some one mention that use</p>
  
  <pre><code>string.encode('ascii')
  </code></pre>
  
  <p>to make it work in <code>Python 3.x</code> but my problem is, in both cases it raises same <code>UnicodeEncodeError</code> exception!</p>
  
  <p>Screenshot:
  <a href="https://i.stack.imgur.com/T8bAq.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/T8bAq.png" alt="enter image description here"></a></p>
  
  <p>so now i am stuck here and cant figure out how to make it work!
  kindly guide me or i have to use another method to determine if <code>String</code> is in <code>English</code> or not!
  Thanks</p>