Emoji symbols/emoticons in Python IDLE
问题 I can't encode and display characters in the range \U0001f600-\U0001f650. They are called emoji or emoticons and they are used in all social media. Python error message: File "C:\Python\Python342x64\lib\encodings\cp1251.py", line 19, in encode return codecs.charmap_encode(input,self.errors,encoding_table)[0] UnicodeEncodeError: 'charmap' codec can't encode character '\U0001f62d' in position 108: character maps to <undefined> This character must look like - 😭 . I work in Python 3.4.2 (from