I use Matlab on Windows and commit my changes on my work's GitLab.
All the accent characters within my files, such as é
or à
, do not display on the GitLab web interface (they just disappear).
For instance, Caractères non-affichés : à é è ô ö ...
gives Caractres non-affichs : ...
I tried changing git setting to "commit as is" but it didn't work.
Does anyone have some ideas or questions ?
Thanks.
EDIT : GitLab lets me use a web code editor for my files. The characters in it show up, but they are broken. : � �
If I change them manually, they then display properly in GitLab.
EDIT2 : I pushed files using git command and it worked properly.
Now Matlab displays the bad characters as broken. But when I write new lines and push, they display properly in both Matlab and gitLab.
My files were first encoded as ANSI. So Matlab could display everything right, but not GitLab. (See Will's link : https://gitlab.com/gitlab-org/gitlab/-/issues/34874)
I just had to open them all with Notepad++ to convert them to UTF8, commit and push. And now everything's shiny !
Thank you everyone for your help.