title: How to fix "Invalid encoding' error in python 3?
body: <p>I was creating a python-based shell where I used one latin-1 character: "└──>". So I tried this:</p>
  
  <pre><code>~python 3.8
  # -*- coding:  latin-1 -*-
  
  input_prompt = input('''
  └──&gt;  ''')
  </code></pre>
  
  <p>But it gave me error:</p>
  
  <pre><code>Invalid encoding 'latin-1'
  Saving as 'UTF-8'
  </code></pre>
  
  <p>Why does it displays this? I tried code in python 2.7 and same error. How to solve this?</p>