0

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:

enter image description here

Im guessing it gets confused, because they aren't usual english characters, but I don't know where to change it to support them.

  • Wheer do you see a space after the accented characters? I cannot see it in the screenshot. – Klaus Gütter Dec 23 '22 at 14:48
  • After I run the code in the terminal. – mathebarni29 Dec 23 '22 at 14:53
  • That's really not clear from your question. Maybe you should [edit] it and show how the console output looks like. – Klaus Gütter Dec 23 '22 at 14:59
  • https://stackoverflow.com/questions/4606570/os-x-terminal-utf-8-issues – Hans Passant Dec 23 '22 at 15:14
  • A screenshot of your IDE is not helpful when what you are concerned about is output in terminal. Also, as noted previously, this is a duplicate of https://stackoverflow.com/questions/4606570/os-x-terminal-utf-8-issues and you should find a solution there. It's not a bad question :) – Aaron Goselin Dec 24 '22 at 16:35

1 Answers1

0

This might help:

  1. Go to Terminal -> Preferences -> Advanced (Tab) go down to International and select Unicode (UTF-8) as Character Encoding.

  2. Tick Set locale environment variables on startup.