When I push to git, characters with "Place" accents. How to resolve?

Asked

Viewed 404 times

1

I have a project in Java, and for example: Type in some line of my code "Not set", when I push to git it gets "N the set" or something worse. Is there any way to avoid this in any git configuration, or in my own Java application ? Once I hear about something like Locale in Java, I just don’t remember how it works anymore, whether it will solve the problem or how it implements. NOTE: I use Github and push by Eclipse IDE.

1 answer

1

This character usually means invalid, meaning you have an Encode problem.

Check the Find configuration in your Eclipse IDE, because it’s not being able to interpret the Find of the files you’re saving in Git.

  • The meeting is already UTF-8

  • 1

    Being with UTF-8 doesn’t mean it won’t be a problem! The question is, if you’re saving in UTF-8, you’re not "reading" in the same format. 1 - Check the Git installation. 2 - Try to create a new repository and add a file with the notepad, for example, and test if the same problem occurs

Browser other questions tagged

You are not signed in. Login or sign up in order to post.