title: Working with Non-UTF-8 codes in Python 3?
body: <p>This is my first question in StackOverflow. I've been trying to print() an Arabic string. my code is:</p>
  
  <pre><code>s = '''
  &lt;b&gt;سُوۡرَةُ الفَاتِحَة&lt;/b&gt;&lt;br&gt;بِسۡمِ اللهِ الرَّحۡمٰنِ الرَّحِيۡمِ &lt;br&gt;&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;&lt;div dir="RTL" align="right"&gt;&lt;font id="fon1" class="Arabic-IndoPak" size="5.2" color="#000000"&gt;&lt;span id="mspan1"&gt;اَلۡحَمۡدُ لِلّٰهِ رَبِّ الۡعٰلَمِيۡنَۙ‏ ﴿﻿۱﻿﴾ &amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;font id="SubTotFont1" size="0"&gt;&lt;/font&gt;&lt;font id="fon2" class="Arabic-IndoPak" size="5.2" color="#000000"&gt;&lt;span id="mspan2"&gt;الرَّحۡمٰنِ الرَّحِيۡمِۙ‏ ﴿﻿۲﻿﴾ &amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;font id="SubTotFont2" size="0"&gt;&lt;/font&gt;&lt;font id="fon3" class="Arabic-IndoPak" size="5.2" color="#000000"&gt;&lt;span id="mspan3"&gt;مٰلِكِ يَوۡمِ الدِّيۡنِؕ‏ ﴿﻿۳﻿﴾ &amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;font id="SubTotFont3" size="0"&gt;&lt;/font&gt;&lt;font id="fon4" class="Arabic-IndoPak" size="5.2" color="#000000"&gt;&lt;span id="mspan4"&gt;اِيَّاكَ نَعۡبُدُ  وَاِيَّاكَ نَسۡتَعِيۡنُؕ‏ ﴿﻿۴﻿﴾ &amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;font id="SubTotFont4" size="0"&gt;&lt;/font&gt;&lt;font id="fon5" class="Arabic-IndoPak" size="5.2" color="#000000"&gt;&lt;span id="mspan5"&gt;اِهۡدِنَا الصِّرَاطَ  الۡمُسۡتَقِيۡمَۙ‏ ﴿﻿۵﻿﴾ &amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;font id="SubTotFont5" size="0"&gt;&lt;/font&gt;&lt;font id="fon6" class="Arabic-IndoPak" size="5.2" color="#000000"&gt;&lt;span id="mspan6"&gt;صِرَاطَ الَّذِيۡنَ اَنۡعَمۡتَ عَلَيۡهِمۡ ۙ‏ ﴿﻿۶﻿﴾ &amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;font id="SubTotFont6" size="0"&gt;&lt;/font&gt;&lt;font id="fon7" class="Arabic-IndoPak" size="5.2" color="#000000"&gt;&lt;span id="mspan7"&gt;غَيۡرِ الۡمَغۡضُوۡبِ عَلَيۡهِمۡ وَلَا الضَّآلِّيۡنَ‏ ﴿﻿۷﻿﴾ &amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;font id="SubTotFont7" size="0"&gt;&lt;/font&gt;
  '''
  
  print(s)
  </code></pre>
  
  <p>but it shows this error:</p>
  
  <pre><code>C:\Users\AlT\AppData\Local\Programs\Python\Python36-32\python.exe C:/Users/AlT/PycharmProjects/RAW/RAW.py
    File "C:/Users/AlT/PycharmProjects/RAW/RAW.py", line 1
  SyntaxError: Non-UTF-8 code starting with '\xfe' in file C:/Users/AlT/PycharmProjects/RAW/RAW.py on line 1, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
  
  Process finished with exit code 1
  </code></pre>
  
  <p>Can anyone please tell me how to print these Arabic characters?</p>