First time mac user and beginner in programming, sorry if the answer is obvious. The issue is in the console terminal not in the actual code:
Im guessing it gets confused, because they aren't usual english characters, but I don't know where to change it to support them.