1

I'm opening a project in VB6 to make some changes and everything works fine. Preparing it to upload to Git, when I type git diff to compare the changes, I noticed that it's messing up my comments with accents, what could cause some conflicts with my co-workers' git codes.

for example:

distan = distan + Int(distancia)  ' s<F3> soma se for maior que 1 --- at<E9> 15 horas

should be

distan = distan + Int(distancia)  ' só soma se for maior que 1 --- até 15 horas

It's happening in this particular project only. I have not seen it happening when submitting a merge request in git with other projects.

StayOnTarget
  • 11,743
  • 10
  • 52
  • 81
A52
  • 19
  • 7

1 Answers1

0

I see you're making comments in Brazilian Portuguese. Muito bem, que legal.

Did you try one of these pages?

git, msysgit, accents, utf-8, the definitive answers

Or possibly:

Make git diff show UTF8 encoded characters properly

If either works, please let us know which one helped and specifically why this project differed from your other projects.

Jazimov
  • 12,626
  • 9
  • 52
  • 59