Issue with PygLatin - Input


I don't understand why it doesn't accept my code in the "Input" exercise.

Every time I tried it send me this error message:
Did you create a variable called original?
Traceback (most recent call last):
File "python", line 4, in
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 14: ordinal not in range(128)

print("Bienvenue dans le traducteur francais - Pyg Latin !")
original = raw_input("Entrez un mot à traduire:")

I'm french, that's why the sentences are in french.


Ok, it seems that my code work now. I have absolutely no idea why it didn't.
Thanks anyway.


Unfortunately, there is a bug that prevents the accented à character from being accepted. As a workaround, use a instead.

The original Python track may get replaced in the near future, and hopefully the new one will not have the same bug.


I agree, I just realized it was that. Maybe you must add the coding utf-8 in the courses. Thanks a lot !


Do you have it working with the à character still there? If so, then good; that would mean that the bug has been fixed.


No I deleted the character to make it work. The bug still here.


I have tried adding the UTF-8 encoding to code by using the appropriate header, but it breaks Codecademy's submission correctness test (SCT). Perhaps Codecademy will deal with this in the future version of the course.


C'est dommage. ... :disappointed: