title: SyntaxError: Non-UTF-8 code starting with '\xae'
body: <p>I am using Python in selenium to create scripts. When used the below code getting syntax error. I could find that the issue is with the registered trademark symbol '®' in title. Please help me out of this.</p>
  
  <pre><code>from selenium import webdriver
  from selenium.webdriver.common.keys import Keys
  
  driver = webdriver.Firefox()
  
  driver.get('https://advance.lexis.com')
  assert 'Lexis Advance® Sign In | LexisNexis' in driver.title
  </code></pre>