Talk:O'Reilly Introduction to Python/Section 13

This error came up after my first entry in Section 14 "Flash Card Quizzer". The french_food.txt file has characters which are not recognized. Will have to research on changing the script to support.

Here is the "Traceback", pretty sure I can fix.

Question: le repas Your guess: meal Correct! Traceback (most recent call last): File "flashcards.py", line 33, in    print("Question: " + question) File "C:\Python34\lib\encodings\cp437.py", line 19, in encode return codecs.charmap_encode(input,self.errors,encoding_map)[0] UnicodeEncodeError: 'charmap' codec can't encode characters in position 14-15: character maps to